diff options
-rw-r--r-- | gpsd.c | 2 | ||||
-rw-r--r-- | lcdgps.c | 2 | ||||
-rw-r--r-- | net_dgpsip.c | 2 | ||||
-rw-r--r-- | netlib.c | 1 | ||||
-rw-r--r-- | packet.c | 2 |
5 files changed, 9 insertions, 0 deletions
@@ -8,7 +8,9 @@ #include <sys/time.h> #include <sys/stat.h> +#include <sys/socket.h> #include <sys/types.h> +#include <netinet/in.h> #include <string.h> #include <stdlib.h> #include <stdarg.h> @@ -36,7 +36,9 @@ #include <sys/types.h> #include <sys/stat.h> +#include <sys/socket.h> #include <sys/time.h> /* for select() */ +#include <netinet/in.h> #include <stdlib.h> #include <string.h> #include <math.h> diff --git a/net_dgpsip.c b/net_dgpsip.c index 18fb88af..a6646ae2 100644 --- a/net_dgpsip.c +++ b/net_dgpsip.c @@ -3,6 +3,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 <sys/types.h> +#include <sys/socket.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> @@ -3,6 +3,7 @@ * BSD terms apply: see the file COPYING in the distribution root for details. */ #include <sys/types.h> +#include <netinet/in.h> #include <errno.h> #include <string.h> #include <fcntl.h> @@ -27,6 +27,8 @@ PERMISSIONS BSD terms apply: see the file COPYING in the distribution root for details. ***************************************************************************/ +#include <sys/types.h> +#include <netinet/in.h> #include <stdlib.h> #include <ctype.h> #include <string.h> |