summaryrefslogtreecommitdiff
path: root/serial.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-01-13 10:41:15 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-01-13 10:41:15 -0500
commitec08b6848939dc66b378ecd9789e33f27f915ff9 (patch)
treef32512e4880646db1ba86d4c6a17ca243096e46c /serial.c
parentc93c46f0c10e56b52d3c980e7082ab74f7003f66 (diff)
downloadgpsd-ec08b6848939dc66b378ecd9789e33f27f915ff9.tar.gz
More deheader testing. All regressions pass, codebase splints clean.
Diffstat (limited to 'serial.c')
-rw-r--r--serial.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/serial.c b/serial.c
index 5c45879a..65e5a43a 100644
--- a/serial.c
+++ b/serial.c
@@ -6,18 +6,18 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/ioctl.h>
+#include <stdio.h>
+#include <stdbool.h>
#include <string.h>
#include <fcntl.h>
#include <errno.h>
#ifndef S_SPLINT_S
#include <unistd.h>
+#include <sys/socket.h>
#endif /* S_SPLINT_S */
#include "gpsd_config.h"
#ifdef HAVE_BLUEZ
-#ifndef S_SPLINT_S
-#include <sys/socket.h>
-#endif /* S_SPLINT_S */
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>