summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgps.c2
-rw-r--r--gpsd.c3
-rw-r--r--gpspipe.c2
-rw-r--r--lcdgps.c2
-rw-r--r--monitor_italk.c2
5 files changed, 11 insertions, 0 deletions
diff --git a/cgps.c b/cgps.c
index 0e878c31..0d5b5589 100644
--- a/cgps.c
+++ b/cgps.c
@@ -78,6 +78,8 @@
/* This is the maximum size we need for the 'satellites' window. */
#define MAX_SATWIN_SIZE (MAX_POSSIBLE_SATS + SATWIN_OVERHEAD)
+#include <sys/types.h>
+#include <sys/select.h>
#ifndef S_SPLINT_S
#include <sys/socket.h>
#include <unistd.h>
diff --git a/gpsd.c b/gpsd.c
index 9fbacb1b..ccef4c82 100644
--- a/gpsd.c
+++ b/gpsd.c
@@ -5,6 +5,9 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
+
+#include <sys/types.h>
+#include <string.h>
#include <stdlib.h>
#include "gpsd_config.h"
#ifndef S_SPLINT_S
diff --git a/gpspipe.c b/gpspipe.c
index 90c70a38..5164ac68 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -23,6 +23,8 @@
*
*/
+#include <sys/types.h>
+#include <sys/stat.h>
#include <stdlib.h>
#include "gpsd_config.h"
#ifndef S_SPLINT_S
diff --git a/lcdgps.c b/lcdgps.c
index 265ca32c..f108adea 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -34,6 +34,8 @@
#define CLIMB 3
+#include <sys/types.h>
+#include <sys/stat.h>
#include <stdlib.h>
#include "gpsd_config.h"
#include <string.h>
diff --git a/monitor_italk.c b/monitor_italk.c
index d4d912e2..49f84a06 100644
--- a/monitor_italk.c
+++ b/monitor_italk.c
@@ -2,6 +2,8 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
+
+#include <string.h>
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */