summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-os-posix.c
blob: 1738650162ea47a06cb83ad1bebb06ab493a834c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- a/os-posix.c
+++ b/os-posix.c
@@ -27,6 +27,9 @@
 #include <fcntl.h>
 #include <signal.h>
 #include <sys/types.h>
+#ifdef __FreeBSD__
+#include <sys/sysctl.h>
+#endif
 #include <sys/wait.h>
 /*needed for MAP_POPULATE before including qemu-options.h */
 #include <sys/mman.h>