1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-19 03:30:32 -04:00
ports/emulators/qemu-devel/files/patch-os-posix.c
2010-10-21 20:16:45 +00:00

12 lines
278 B
C

--- 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>