summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-15 11:13:08 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-15 11:13:08 -0500
commit494bdad6b849d18ce86437d9193edfe3d1211710 (patch)
tree1e80e05337af87a9f4be7746cc5ac177dc4f2cc5 /lcdgps.c
parentfc243f0fec56b80621c781d40ecbf6a747dd288e (diff)
downloadgpsd-494bdad6b849d18ce86437d9193edfe3d1211710.tar.gz
Partial splint cleanup. All regression tests pass.
Diffstat (limited to 'lcdgps.c')
-rw-r--r--lcdgps.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lcdgps.c b/lcdgps.c
index 03a0ca92..4829d12c 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -37,9 +37,11 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <netdb.h>
+#ifndef S_SPLINT_S
#ifndef AF_UNSPEC
#include <sys/socket.h>
#endif /* AF_UNSPEC */
+#endif /* S_SPLINT_S */
#ifndef INADDR_ANY
#include <netinet/in.h>
#endif /* INADDR_ANY */