diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-01-02 22:29:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-01-02 22:29:16 +0000 |
commit | d5904b6b45850cc731d45ec81ff2294d0afe26ad (patch) | |
tree | 7c4a7359ac46d3a01475b203a17c03d634438e57 /driver_rtcm3.c | |
parent | f46e4a8da378d9287824c7ce84ef296effaa3c94 (diff) | |
download | gpsd-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.c | 5 |
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" |