summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
Diffstat (limited to 'lcdgps.c')
-rw-r--r--lcdgps.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lcdgps.c b/lcdgps.c
index 32989441..b0fbf78b 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -39,11 +39,15 @@
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
+#ifndef S_SPLINT_S
#include <unistd.h>
+#endif /* S_SPLINT_S */
#include <math.h>
#include <errno.h>
#include <sys/select.h>
+#ifndef S_SPLINT_S
#include <sys/socket.h>
+#endif /* S_SPLINT_S */
#include <sys/time.h> /* select() */
#include <sys/stat.h>