summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-12-14 11:46:41 -0500
committerEric S. Raymond <esr@thyrsus.com>2010-12-14 11:46:41 -0500
commit068d0764a8533c64923c4cab43d93910aa5e4920 (patch)
tree0500c27aeabc618af45424d0f5d7c60756549e5d /drivers.c
parent8e0d51dc0f47b79c941b0cfbf7e4cb648dd4728f (diff)
downloadgpsd-068d0764a8533c64923c4cab43d93910aa5e4920.tar.gz
We were checking for sys/modem.h and never needed it.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers.c b/drivers.c
index 4ea1286e..6d89bd01 100644
--- a/drivers.c
+++ b/drivers.c
@@ -3,16 +3,12 @@
* BSD terms apply: see the file COPYING in the distribution root for details.
*/
#include <sys/types.h>
-#include "gpsd_config.h"
-#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif /* HAVE_SYS_IOCTL_H */
#include <stdlib.h>
+#include <string.h>
+#include <stdarg.h>
#ifndef S_SPLINT_S
#include <unistd.h>
#endif /* S_SPLINT_S */
-#include <string.h>
-#include <stdarg.h>
#include "gpsd.h"
#include "bits.h" /* for getbeuw(), to extract big-endian words */