diff options
author | Peter Maydell | 2016-01-26 19:17:08 +0100 |
---|---|---|
committer | Peter Maydell | 2016-01-29 16:07:23 +0100 |
commit | 757e725b58c57d3ebb66a31fd2210df977a12154 (patch) | |
tree | d8e0b53018c38dd639818d4f3ea5b5965aca875d /tcg/ppc | |
parent | virtio: Clean up includes (diff) | |
download | qemu-757e725b58c57d3ebb66a31fd2210df977a12154.tar.gz qemu-757e725b58c57d3ebb66a31fd2210df977a12154.tar.xz qemu-757e725b58c57d3ebb66a31fd2210df977a12154.zip |
tcg: 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: 1453832250-766-16-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'tcg/ppc')
-rw-r--r-- | tcg/ppc/tcg-target.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tcg/ppc/tcg-target.c b/tcg/ppc/tcg-target.c index 2c72565fb9..c593344db1 100644 --- a/tcg/ppc/tcg-target.c +++ b/tcg/ppc/tcg-target.c @@ -22,6 +22,7 @@ * THE SOFTWARE. */ +#include "qemu/osdep.h" #include "tcg-be-ldst.h" #if defined _CALL_DARWIN || defined __APPLE__ @@ -2725,8 +2726,6 @@ static void __attribute__((constructor)) tcg_cache_init(void) } #elif defined __APPLE__ -#include <stdio.h> -#include <sys/types.h> #include <sys/sysctl.h> static void __attribute__((constructor)) tcg_cache_init(void) @@ -2745,11 +2744,6 @@ static void __attribute__((constructor)) tcg_cache_init(void) } #elif defined(__FreeBSD__) || defined(__FreeBSD_kernel__) -#include <errno.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <sys/types.h> #include <sys/sysctl.h> static void __attribute__((constructor)) tcg_cache_init(void) |