summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-29 17:50:03 +0000
committerPeter Maydell <peter.maydell@linaro.org>2016-02-04 17:41:30 +0000
commitcae9fc567d89aacfa556917c49bd5399ee24d0fa (patch)
treefde3c3840f95e9e638c58e06db3fc4f9c545dbf8 /io
parent9bbc853bd4fc6e4cbdbfc8d52eab0730d3ba94ba (diff)
downloadqemu-cae9fc567d89aacfa556917c49bd5399ee24d0fa.tar.gz
io: Clean up includes
Clean up includes so that osdep.h is included first and headers which it implies are not included manually. This commit was created with scripts/clean-includes. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1454089805-5470-14-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'io')
-rw-r--r--io/channel-buffer.c1
-rw-r--r--io/channel-command.c1
-rw-r--r--io/channel-file.c1
-rw-r--r--io/channel-socket.c1
-rw-r--r--io/channel-tls.c1
-rw-r--r--io/channel-watch.c1
-rw-r--r--io/channel-websock.c1
-rw-r--r--io/channel.c1
-rw-r--r--io/task.c1
9 files changed, 9 insertions, 0 deletions
diff --git a/io/channel-buffer.c b/io/channel-buffer.c
index daebc92bd8..0f7c5671fe 100644
--- a/io/channel-buffer.c
+++ b/io/channel-buffer.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-buffer.h"
#include "io/channel-watch.h"
#include "qemu/sockets.h"
diff --git a/io/channel-command.c b/io/channel-command.c
index a9c67aa221..f53ce0f4f4 100644
--- a/io/channel-command.c
+++ b/io/channel-command.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-command.h"
#include "io/channel-watch.h"
#include "qemu/sockets.h"
diff --git a/io/channel-file.c b/io/channel-file.c
index 13609005f9..19a432562a 100644
--- a/io/channel-file.c
+++ b/io/channel-file.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-file.h"
#include "io/channel-watch.h"
#include "qemu/sockets.h"
diff --git a/io/channel-socket.c b/io/channel-socket.c
index bc117b1115..22d2fd67d4 100644
--- a/io/channel-socket.c
+++ b/io/channel-socket.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-socket.h"
#include "io/channel-watch.h"
#include "trace.h"
diff --git a/io/channel-tls.c b/io/channel-tls.c
index 8ac4f76f78..7608fd9de0 100644
--- a/io/channel-tls.c
+++ b/io/channel-tls.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-tls.h"
#include "trace.h"
diff --git a/io/channel-watch.c b/io/channel-watch.c
index 2f745f16c4..931fa4d49d 100644
--- a/io/channel-watch.c
+++ b/io/channel-watch.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-watch.h"
typedef struct QIOChannelFDSource QIOChannelFDSource;
diff --git a/io/channel-websock.c b/io/channel-websock.c
index 9273a8b31e..35860a2738 100644
--- a/io/channel-websock.c
+++ b/io/channel-websock.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel-websock.h"
#include "crypto/hash.h"
#include "trace.h"
diff --git a/io/channel.c b/io/channel.c
index 5e94469de2..3fc09f887c 100644
--- a/io/channel.c
+++ b/io/channel.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/channel.h"
#include "qemu/coroutine.h"
diff --git a/io/task.c b/io/task.c
index 3127fca771..bf1a3339b2 100644
--- a/io/task.c
+++ b/io/task.c
@@ -18,6 +18,7 @@
*
*/
+#include "qemu/osdep.h"
#include "io/task.h"
#include "qemu/thread.h"
#include "trace.h"