summaryrefslogtreecommitdiff
path: root/net_dgpsip.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 /net_dgpsip.c
parentfc243f0fec56b80621c781d40ecbf6a747dd288e (diff)
downloadgpsd-494bdad6b849d18ce86437d9193edfe3d1211710.tar.gz
Partial splint cleanup. All regression tests pass.
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index a6646ae2..eed60c3d 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -4,12 +4,12 @@
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
#include <sys/types.h>
-#include <sys/socket.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <netdb.h>
#ifndef S_SPLINT_S
+#include <sys/socket.h>
#include <unistd.h>
#endif /* S_SPLINT_S */