From: Peter Maydell Date: Fri, 29 Jan 2016 17:50:03 +0000 (+0000) Subject: io: Clean up includes X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=cae9fc567d89aacfa556917c49bd5399ee24d0fa;p=people%2Fliuw%2Flibxenctrl-split%2Fqemu-xen.git 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 Message-id: 1454089805-5470-14-git-send-email-peter.maydell@linaro.org --- diff --git a/io/channel-buffer.c b/io/channel-buffer.c index daebc92bd..0f7c5671f 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 a9c67aa22..f53ce0f4f 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 13609005f..19a432562 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 bc117b111..22d2fd67d 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 8ac4f76f7..7608fd9de 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 2f745f16c..931fa4d49 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 9273a8b31..35860a273 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 5e94469de..3fc09f887 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 3127fca77..bf1a3339b 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"