]> git.proxmox.com Git - qemu.git/commitdiff
Remove unncessary includes
authorJes Sorensen <Jes.Sorensen@redhat.com>
Tue, 26 Oct 2010 08:39:27 +0000 (10:39 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 30 Oct 2010 08:02:40 +0000 (08:02 +0000)
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.Sorensen@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
osdep.c

diff --git a/osdep.c b/osdep.c
index 0d485619755101aea0c814f46cc5a3bfa71484f8..327583baf73a8b1b10f3b6456bcd80a7861a49e7 100644 (file)
--- a/osdep.c
+++ b/osdep.c
 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"