summaryrefslogtreecommitdiff
path: root/cgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-01-21 10:42:24 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-01-21 10:42:24 +0000
commitc8ac73d4d861937a0e266e86362095ed2e32396e (patch)
treed02434d7e2bd21bb35fed551fc84161d07d4b85e /cgps.c
parent7925f0d0fcb3c98dc254ba1d18aef0c89c86b8c6 (diff)
downloadgpsd-c8ac73d4d861937a0e266e86362095ed2e32396e.tar.gz
Splint cleanup and removal of some unneeded headers.
Diffstat (limited to 'cgps.c')
-rw-r--r--cgps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cgps.c b/cgps.c
index 0cf161dd..a9cc1f3f 100644
--- a/cgps.c
+++ b/cgps.c
@@ -84,7 +84,9 @@
#include <sys/types.h>
#include <sys/select.h>
+#ifndef S_SPLINT_S
#include <sys/socket.h>
+#endif /* S_SPLINT_S */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>