summaryrefslogtreecommitdiff
path: root/gpspipe.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 08:09:49 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 08:09:49 -0500
commit1e0126fcbf956b5893dabcac2c7c3f5002ce910c (patch)
treebfbf7b365af98444431d391a464a5ecb5bf5e87f /gpspipe.c
parenteead1c2ac4df683dd43c8b6e0a1c766a00f7c702 (diff)
downloadgpsd-1e0126fcbf956b5893dabcac2c7c3f5002ce910c.tar.gz
More header simplification. All regression tests pass.
Diffstat (limited to 'gpspipe.c')
-rw-r--r--gpspipe.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/gpspipe.c b/gpspipe.c
index fdf7ee7b..8df4a85d 100644
--- a/gpspipe.c
+++ b/gpspipe.c
@@ -26,20 +26,15 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
-#include "gpsd_config.h"
-#ifndef S_SPLINT_S
-#if HAVE_SYS_SOCKET_H
-#include <sys/socket.h>
-#endif /* HAVE_SYS_SOCKET_H */
-#include <unistd.h>
-#endif /* S_SPLINT_S */
#include <errno.h>
#include <string.h>
#include <fcntl.h>
-#if HAVE_TERMIOS
#include <termios.h>
-#endif /* HAVE_TERMIOS */
#include <assert.h>
+#ifndef S_SPLINT_S
+#include <unistd.h>
+#endif /* S_SPLINT_S */
+
#include "gpsd.h"
#include "gpsdclient.h"
#include "revision.h"