summaryrefslogtreecommitdiff
path: root/libgpsd_core.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 /libgpsd_core.c
parent7925f0d0fcb3c98dc254ba1d18aef0c89c86b8c6 (diff)
downloadgpsd-c8ac73d4d861937a0e266e86362095ed2e32396e.tar.gz
Splint cleanup and removal of some unneeded headers.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r--libgpsd_core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgpsd_core.c b/libgpsd_core.c
index 46359eaa..0ddc418a 100644
--- a/libgpsd_core.c
+++ b/libgpsd_core.c
@@ -2,7 +2,9 @@
/* libgpsd_core.c -- direct access to GPSes on serial or USB devices. */
#include <sys/time.h>
#include <sys/ioctl.h>
+#ifndef S_SPLINT_S
#include <sys/socket.h>
+#endif /* S_SPLINT_S */
#include <sys/time.h>
#include <unistd.h>
#include <stdlib.h>