]> Git Repo - qemu.git/commitdiff
Remove unncessary includes
authorJes Sorensen <[email protected]>
Tue, 26 Oct 2010 08:39:27 +0000 (10:39 +0200)
committerBlue Swirl <[email protected]>
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 <[email protected]>
Signed-off-by: Blue Swirl <[email protected]>
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"
This page took 0.024438 seconds and 4 git commands to generate.