summaryrefslogtreecommitdiff
path: root/net_ntrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'net_ntrip.c')
-rw-r--r--net_ntrip.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/net_ntrip.c b/net_ntrip.c
index ac6c53b0..5f303d99 100644
--- a/net_ntrip.c
+++ b/net_ntrip.c
@@ -3,12 +3,15 @@
* This file is Copyright (c) 2010 by the GPSD project
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
-#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <fcntl.h>
#include <math.h>
+#include <strings.h>
#ifndef S_SPLINT_S
+#include <sys/types.h>
+#include <sys/stat.h>
#include <netdb.h>
#include <sys/socket.h>
#include <unistd.h>