From 24646c7ed8a94a2b39e03121f0079bb89e708ec7 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Fri, 7 Nov 2008 16:55:48 +0000 Subject: Fix some build issues for BSD. Signed-off-by: Christoph Egger git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5646 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'vl.c') diff --git a/vl.c b/vl.c index 31dd3d7..04485fe 100644 --- a/vl.c +++ b/vl.c @@ -55,26 +55,31 @@ #include #include #include +#include #include #include +#include +#if defined(__NetBSD__) +#include +#endif +#ifdef __linux__ +#include +#endif +#include #include #include #include -#include #ifdef _BSD #include -#if !defined(__APPLE__) && !defined(__OpenBSD__) +#ifdef __FreeBSD__ #include -#endif -#ifdef __OpenBSD__ -#include +#else +#include #endif #elif defined (__GLIBC__) && defined (__FreeBSD_kernel__) #include #else #ifdef __linux__ -#include -#include #include #include #include -- cgit v1.1