summaryrefslogtreecommitdiff
path: root/driver_rtcm3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-01-02 22:29:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2010-01-02 22:29:16 +0000
commitd5904b6b45850cc731d45ec81ff2294d0afe26ad (patch)
tree7c4a7359ac46d3a01475b203a17c03d634438e57 /driver_rtcm3.c
parentf46e4a8da378d9287824c7ce84ef296effaa3c94 (diff)
downloadgpsd-d5904b6b45850cc731d45ec81ff2294d0afe26ad.tar.gz
David Ludlow's housekeeping and type-cleanup patch.
All regression tests pass,
Diffstat (limited to 'driver_rtcm3.c')
-rw-r--r--driver_rtcm3.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c
index a4f5631b..5cc2ad6a 100644
--- a/driver_rtcm3.c
+++ b/driver_rtcm3.c
@@ -34,8 +34,11 @@ firmware.
#include <stdbool.h>
#include <stdio.h>
#include <assert.h>
+#include "gpsd_config.h"
#ifndef S_SPLINT_S
-#include <arpa/inet.h> /* for ntohl(3) and friends */
+ #ifdef HAVE_ARPA_INET
+ #include <arpa/inet.h> /* for ntohl(3) and friends */
+ #endif /* HAVE_ARPA_INET */
#endif /* S_SPLINT_S */
#include "gpsd.h"