summaryrefslogtreecommitdiff
path: root/driver_rtcm3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-11 11:39:45 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-11 11:39:45 +0000
commit657a827ed48e346b43b611b1bd48bbbb7cefc3f1 (patch)
treeb9f5d7e013b747b588d8002b1ecc79da36363de2 /driver_rtcm3.c
parentdab1629290cc471813952ac03f5b031b7efb2533 (diff)
downloadgpsd-657a827ed48e346b43b611b1bd48bbbb7cefc3f1.tar.gz
Finally found the right set of exclusions to stop splint from choking.
Now to see if I can trim them any.
Diffstat (limited to 'driver_rtcm3.c')
-rw-r--r--driver_rtcm3.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver_rtcm3.c b/driver_rtcm3.c
index a6f4c5ee..ce5415ba 100644
--- a/driver_rtcm3.c
+++ b/driver_rtcm3.c
@@ -34,7 +34,9 @@ firmware.
#include <stdbool.h>
#include <stdio.h>
#include <assert.h>
+#ifndef S_SPLINT_S
#include <arpa/inet.h> /* for ntohl(3) and friends */
+#endif /* S_SPLINT_S */
#include "gpsd_config.h"
#include "gpsd.h"