summaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2010-10-26 10:39:27 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-30 08:02:40 +0000
commitb45e9c05dbacba8e992f0bffeca04c6379c3ad45 (patch)
tree895d2904e7ccd61e5ea91d2dae241ed9b4d7aa00 /osdep.c
parentb152aa84d52882bb1846485a89baf13aa07c86bc (diff)
downloadqemu-b45e9c05dbacba8e992f0bffeca04c6379c3ad45.tar.gz
qemu-b45e9c05dbacba8e992f0bffeca04c6379c3ad45.tar.bz2
qemu-b45e9c05dbacba8e992f0bffeca04c6379c3ad45.zip
Remove unncessary includes
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>
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/osdep.c b/osdep.c
index 0d48561975..327583baf7 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"