diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-12-14 08:53:27 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-12-14 08:53:27 -0500 |
commit | 05a7a7c1b248f23ef9d7332b597534190f06e4f2 (patch) | |
tree | 80a1ef87de6a0ec9210b6e86780508dbd06be640 /net_dgpsip.c | |
parent | d5bf68c29ddb260900b52665db04320ddd4600b1 (diff) | |
download | gpsd-05a7a7c1b248f23ef9d7332b597534190f06e4f2.tar.gz |
More header rationalizations,
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r-- | net_dgpsip.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c index e949c191..e04078e1 100644 --- a/net_dgpsip.c +++ b/net_dgpsip.c @@ -4,6 +4,12 @@ * BSD terms apply: see the file COPYING in the distribution root for details. */ #include <stdlib.h> +#include <string.h> +#include <fcntl.h> +#ifndef S_SPLINT_S +#include <unistd.h> +#endif /* S_SPLINT_S */ + #include "gpsd_config.h" #ifndef S_SPLINT_S #ifdef HAVE_SYS_SOCKET_H @@ -11,15 +17,12 @@ #else #define AF_UNSPEC 0 #endif /* HAVE_SYS_SOCKET_H */ -#include <unistd.h> #endif /* S_SPLINT_S */ #ifndef S_SPLINT_S #ifdef HAVE_NETDB_H #include <netdb.h> #endif /* HAVE_NETDB_H */ #endif /* S_SPLINT_S */ -#include <string.h> -#include <fcntl.h> #include "gpsd.h" |