summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-10 18:50:49 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-10 18:50:49 +0000
commitdab1629290cc471813952ac03f5b031b7efb2533 (patch)
treecf059f2d428535f2ae2b96fb660aa2663b1dc542 /net_dgpsip.c
parentfc1df0c4a76b31b805fb7de588c27ea8b7e58848 (diff)
downloadgpsd-dab1629290cc471813952ac03f5b031b7efb2533.tar.gz
Guard some inclusions that splint doesn't like.
No effect on compilation. All regression tests pass.
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index 9e5ab3dd..d1591e66 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -3,9 +3,9 @@
#include <sys/types.h>
#ifndef S_SPLINT_S
#include <sys/socket.h>
+#include <unistd.h>
#endif /* S_SPLINT_S */
#include <sys/time.h>
-#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>