summaryrefslogtreecommitdiff
path: root/packet.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-16 00:45:28 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-16 00:45:28 -0500
commit04464dff271b14a527c21c35f46014e01e57e03d (patch)
tree4105422d7fa1d7800159746105b66c86b057fafa /packet.c
parentf3f6de6fcf86ec6b3486ee49a019061dc32eb7d8 (diff)
downloadgpsd-04464dff271b14a527c21c35f46014e01e57e03d.tar.gz
Total splint cleanup. All regressionm tests pass.
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 38c403fe..68da6851 100644
--- a/packet.c
+++ b/packet.c
@@ -28,12 +28,12 @@ PERMISSIONS
***************************************************************************/
#include <sys/types.h>
-#include <netinet/in.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <errno.h>
#ifndef S_SPLINT_S
+#include <netinet/in.h>
#include <arpa/inet.h> /* for htons() */
#include <unistd.h>
#endif /* S_SPLINT_S */