summaryrefslogtreecommitdiff
path: root/netlib.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-15 17:55:52 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-15 17:55:52 -0500
commit8ee20ec877a0febdeaa05b499a059b8aeeaebc05 (patch)
tree2329f63de35e800d4c417e629ea6c9116e70166f /netlib.c
parentc4aaede6bd2dc4d3e279d25ca70ebea75fab4e87 (diff)
downloadgpsd-8ee20ec877a0febdeaa05b499a059b8aeeaebc05.tar.gz
Splint cleanup.
Diffstat (limited to 'netlib.c')
-rw-r--r--netlib.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/netlib.c b/netlib.c
index adc6a000..df1f2646 100644
--- a/netlib.c
+++ b/netlib.c
@@ -6,18 +6,16 @@
#include <errno.h>
#include <string.h>
#include <fcntl.h>
-#include <netdb.h>
#ifndef S_SPLINT_S
+#include <netdb.h>
#ifndef AF_UNSPEC
#include <sys/socket.h>
#endif /* AF_UNSPEC */
-#endif /* S_SPLINT_S */
#ifndef INADDR_ANY
#include <netinet/in.h>
#endif /* INADDR_ANY */
#include <sys/un.h>
#include <arpa/inet.h> /* for htons() and friends */
-#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */