diff options
author | Juergen Lock <nox@FreeBSD.org> | 2010-10-21 20:16:45 +0000 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2010-10-21 20:16:45 +0000 |
commit | 5269a286ffc8dce7e64d503ff592f95cffade051 (patch) | |
tree | 8a1274076177daf276ba7add07d8f62bda880424 /emulators/qemu-devel/files/patch-os-posix.c | |
parent | e1d7bbc4ca80224cfa9eca5d294becfdc368db8c (diff) | |
download | ports-5269a286ffc8dce7e64d503ff592f95cffade051.tar.gz ports-5269a286ffc8dce7e64d503ff592f95cffade051.zip |
Notes
Diffstat (limited to 'emulators/qemu-devel/files/patch-os-posix.c')
-rw-r--r-- | emulators/qemu-devel/files/patch-os-posix.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu-devel/files/patch-os-posix.c b/emulators/qemu-devel/files/patch-os-posix.c new file mode 100644 index 000000000000..1738650162ea --- /dev/null +++ b/emulators/qemu-devel/files/patch-os-posix.c @@ -0,0 +1,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> |