From: Jes Sorensen <jes.soren...@redhat.com> No need to include stdlib.h for BSD as it is included by qemu-common.h, windows.h is handled by sysemu.h and osdep.c no longer needs malloc.h
Signed-off-by: Jes Sorensen <jes.soren...@redhat.com> --- osdep.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/osdep.c b/osdep.c index 0d48561..327583b 100644 --- a/osdep.c +++ b/osdep.c @@ -44,14 +44,6 @@ extern int madvise(caddr_t, size_t, int); #endif -#ifdef _WIN32 -#include <windows.h> -#elif defined(CONFIG_BSD) -#include <stdlib.h> -#else -#include <malloc.h> -#endif - #include "qemu-common.h" #include "trace.h" #include "sysemu.h" -- 1.7.2.3