summaryrefslogtreecommitdiff
path: root/net_dgpsip.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 10:15:40 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 10:15:40 -0500
commit6cee03b5e3ee6eb79210a9ed1e3ba5fa0037e4ca (patch)
treeae47d78862af8d1388b8555d99b6c174ca08b267 /net_dgpsip.c
parent65224a85007d6576c706c1ce3fae6b9e99ba1b28 (diff)
downloadgpsd-6cee03b5e3ee6eb79210a9ed1e3ba5fa0037e4ca.tar.gz
Because we're taking SuS seriously we can simplify the configuration machinery.
Diffstat (limited to 'net_dgpsip.c')
-rw-r--r--net_dgpsip.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/net_dgpsip.c b/net_dgpsip.c
index 81ea0bda..18fb88af 100644
--- a/net_dgpsip.c
+++ b/net_dgpsip.c
@@ -6,17 +6,11 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.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_NETDB_H
-#include <netdb.h>
-#endif /* HAVE_NETDB_H */
-#endif /* S_SPLINT_S */
-
#include "gpsd.h"
/*@ -branchstate */