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>
This commit is contained in:
parent
b152aa84d5
commit
b45e9c05db
8
osdep.c
8
osdep.c
@ -44,14 +44,6 @@
|
|||||||
extern int madvise(caddr_t, size_t, int);
|
extern int madvise(caddr_t, size_t, int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef _WIN32
|
|
||||||
#include <windows.h>
|
|
||||||
#elif defined(CONFIG_BSD)
|
|
||||||
#include <stdlib.h>
|
|
||||||
#else
|
|
||||||
#include <malloc.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "qemu-common.h"
|
#include "qemu-common.h"
|
||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "sysemu.h"
|
#include "sysemu.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user