diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-01-21 10:42:24 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-01-21 10:42:24 +0000 |
commit | c8ac73d4d861937a0e266e86362095ed2e32396e (patch) | |
tree | d02434d7e2bd21bb35fed551fc84161d07d4b85e /libgpsd_core.c | |
parent | 7925f0d0fcb3c98dc254ba1d18aef0c89c86b8c6 (diff) | |
download | gpsd-c8ac73d4d861937a0e266e86362095ed2e32396e.tar.gz |
Splint cleanup and removal of some unneeded headers.
Diffstat (limited to 'libgpsd_core.c')
-rw-r--r-- | libgpsd_core.c | 2 |
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> |