From ccd241b5a2223c502441714d413d569565e4a3b4 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 29 Jan 2016 17:50:04 +0000 Subject: contrib: 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-15-git-send-email-peter.maydell@linaro.org --- contrib/ivshmem-client/ivshmem-client.c | 2 +- contrib/ivshmem-client/main.c | 1 + contrib/ivshmem-server/ivshmem-server.c | 2 +- contrib/ivshmem-server/main.c | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/ivshmem-client/ivshmem-client.c b/contrib/ivshmem-client/ivshmem-client.c index 31619d80e9..44ae3646e1 100644 --- a/contrib/ivshmem-client/ivshmem-client.c +++ b/contrib/ivshmem-client/ivshmem-client.c @@ -6,7 +6,7 @@ * top-level directory. */ -#include +#include "qemu/osdep.h" #include #include diff --git a/contrib/ivshmem-client/main.c b/contrib/ivshmem-client/main.c index c004870ae3..33ae1daa15 100644 --- a/contrib/ivshmem-client/main.c +++ b/contrib/ivshmem-client/main.c @@ -6,6 +6,7 @@ * top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "ivshmem-client.h" diff --git a/contrib/ivshmem-server/ivshmem-server.c b/contrib/ivshmem-server/ivshmem-server.c index d9e26b0574..bfd0fad49a 100644 --- a/contrib/ivshmem-server/ivshmem-server.c +++ b/contrib/ivshmem-server/ivshmem-server.c @@ -5,11 +5,11 @@ * (at your option) any later version. See the COPYING file in the * top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "qemu/sockets.h" #include -#include #include #include #ifdef CONFIG_LINUX diff --git a/contrib/ivshmem-server/main.c b/contrib/ivshmem-server/main.c index 9b0d6e2319..cca1061f0e 100644 --- a/contrib/ivshmem-server/main.c +++ b/contrib/ivshmem-server/main.c @@ -6,6 +6,7 @@ * top-level directory. */ +#include "qemu/osdep.h" #include "qemu-common.h" #include "ivshmem-server.h" -- cgit v1.2.3