summaryrefslogtreecommitdiff
path: root/sd_socket.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-05 18:56:24 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-05 18:56:24 -0500
commit209144664fa758bc27f334a32b76fab9813c6f97 (patch)
tree2a6b405315d4ac7498a8a698ad4330cb06cf90cc /sd_socket.c
parent326523756d2e93cec14d536d3860b4fa48fa10f7 (diff)
downloadgpsd-209144664fa758bc27f334a32b76fab9813c6f97.tar.gz
Partial splint cleanup. All regression tests pass. PPS is live.
Diffstat (limited to 'sd_socket.c')
-rw-r--r--sd_socket.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sd_socket.c b/sd_socket.c
index 8c8c7719..8d5b7d8a 100644
--- a/sd_socket.c
+++ b/sd_socket.c
@@ -5,7 +5,9 @@
#include <limits.h>
#include <stdlib.h>
+#ifndef S_SPLINT_S
#include <unistd.h>
+#endif
#include "sd_socket.h"