summaryrefslogtreecommitdiff
path: root/driver_rtcm3.c
diff options
context:
space:
mode:
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"