summaryrefslogtreecommitdiff
path: root/gpsdctl.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-06-27 05:57:05 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-06-27 05:57:05 -0400
commit0c6a0a8ed8e826057069ed8f3b6456f2c1980076 (patch)
tree818b4ff8223d386ee064314dd1222ce0490f7e0a /gpsdctl.c
parentd590e2186b4cf573cd24cb9f0efaa5cb12c98b03 (diff)
downloadgpsd-0c6a0a8ed8e826057069ed8f3b6456f2c1980076.tar.gz
splint and cppcheck cleanup. All regression tests pass.
Diffstat (limited to 'gpsdctl.c')
-rw-r--r--gpsdctl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsdctl.c b/gpsdctl.c
index 1c9a0473..9cc48b09 100644
--- a/gpsdctl.c
+++ b/gpsdctl.c
@@ -14,7 +14,9 @@
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
+#ifndef S_SPLINT_S
#include <sys/socket.h>
+#endif /* S_SPLINT_S */
#include "gpsd.h"