summaryrefslogtreecommitdiff
path: root/net_ntrip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 09:56:31 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 09:56:31 -0500
commit65224a85007d6576c706c1ce3fae6b9e99ba1b28 (patch)
tree3eb0aeb4e4ceb04dca5dc64d78635bcbec76fc6d /net_ntrip.c
parent05a7a7c1b248f23ef9d7332b597534190f06e4f2 (diff)
downloadgpsd-65224a85007d6576c706c1ce3fae6b9e99ba1b28.tar.gz
Taking SuS seriously some more.
Diffstat (limited to 'net_ntrip.c')
-rw-r--r--net_ntrip.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/net_ntrip.c b/net_ntrip.c
index b148baec..511f1d18 100644
--- a/net_ntrip.c
+++ b/net_ntrip.c
@@ -8,22 +8,10 @@
#include <errno.h>
#include <fcntl.h>
#include <math.h>
+#include <netdb.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
#include <sys/socket.h>
-#else
-#define AF_UNSPEC 0
-#endif /* HAVE_SYS_SOCKET_H */
-#endif /* S_SPLINT_S */
-#ifndef S_SPLINT_S
-#ifdef HAVE_NETDB_H
-#include <netdb.h>
-#endif
+#include <unistd.h>
#endif /* S_SPLINT_S */
#include "gpsd.h"