summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2006-09-26 21:35:58 +0000
committerMarcel Holtmann <marcel@holtmann.org>2006-09-26 21:35:58 +0000
commit98fe99c6838ae08e644f0b7e97415ba283588732 (patch)
tree41a30493b2b6c565dbc5f205f709950233c8447b
parentb7f70f67039d79361f7aa12b572da4f97e717595 (diff)
Fix order of header inclusion
-rw-r--r--hcid/dbus-adapter.c1
-rw-r--r--hcid/dbus-manager.c1
-rw-r--r--hcid/dbus-rfcomm.c3
-rw-r--r--hcid/hcid.h1
4 files changed, 3 insertions, 3 deletions
diff --git a/hcid/dbus-adapter.c b/hcid/dbus-adapter.c
index 417a907c..ae36453e 100644
--- a/hcid/dbus-adapter.c
+++ b/hcid/dbus-adapter.c
@@ -31,6 +31,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/param.h>
+#include <sys/ioctl.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
diff --git a/hcid/dbus-manager.c b/hcid/dbus-manager.c
index dcad1d3a..eb2dbf09 100644
--- a/hcid/dbus-manager.c
+++ b/hcid/dbus-manager.c
@@ -28,6 +28,7 @@
#include <stdio.h>
#include <errno.h>
#include <unistd.h>
+#include <sys/ioctl.h>
#include <sys/socket.h>
#include <bluetooth/bluetooth.h>
diff --git a/hcid/dbus-rfcomm.c b/hcid/dbus-rfcomm.c
index 629911c0..c49fd1f0 100644
--- a/hcid/dbus-rfcomm.c
+++ b/hcid/dbus-rfcomm.c
@@ -27,10 +27,9 @@
#include <stdio.h>
#include <errno.h>
+#include <fcntl.h>
#include <unistd.h>
-#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <arpa/inet.h>
diff --git a/hcid/hcid.h b/hcid/hcid.h
index 4b8b464b..ad4431a8 100644
--- a/hcid/hcid.h
+++ b/hcid/hcid.h
@@ -25,7 +25,6 @@
#include <time.h>
#include <sys/types.h>
-#include <sys/ioctl.h>
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>