summaryrefslogtreecommitdiff
path: root/arch_init.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-03-30 19:27:34 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-03-30 19:27:34 +0000
commit1c47cb16517914144d5b29ac1a67f6d720e7e52e (patch)
tree0e0c412a35439a110b058c520962aeb6d48b9fbd /arch_init.c
parent2ae144c9cc6e8f7732a66c510899958d003d695e (diff)
downloadqemu-1c47cb16517914144d5b29ac1a67f6d720e7e52e.tar.gz
qemu-1c47cb16517914144d5b29ac1a67f6d720e7e52e.tar.bz2
qemu-1c47cb16517914144d5b29ac1a67f6d720e7e52e.zip
Add missing #include needed for madvise() on OpenBSD
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'arch_init.c')
-rw-r--r--arch_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch_init.c b/arch_init.c
index 171e21c7de..cfc03ead53 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -24,6 +24,7 @@
#include <stdint.h>
#include <stdarg.h>
#ifndef _WIN32
+#include <sys/types.h>
#include <sys/mman.h>
#endif
#include "config.h"