summaryrefslogtreecommitdiff
path: root/libgps_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgps_core.c')
-rw-r--r--libgps_core.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgps_core.c b/libgps_core.c
index bec129fc..b50ac834 100644
--- a/libgps_core.c
+++ b/libgps_core.c
@@ -3,16 +3,21 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
+#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
+#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
#include <math.h>
#include <locale.h>
#include <assert.h>
#include <sys/time.h> /* expected to have a select(2) prototype a la SuS */
+#include <sys/types.h>
+#include <sys/stat.h>
#ifndef S_SPLINT_S
+#include <sys/socket.h>
#include <unistd.h>
#endif /* S_SPLINT_S */