aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c b/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c
new file mode 100644
index 000000000000..7c29adc0d804
--- /dev/null
+++ b/emulators/qemu-sbruno/files/patch-bsd-user-freebsd-os-proc.c
@@ -0,0 +1,11 @@
+--- a/bsd-user/freebsd/os-proc.c
++++ b/bsd-user/freebsd/os-proc.c
+@@ -364,7 +364,7 @@ execve_end:
+ #error __FreeBSD_version not defined!
+ #endif
+
+-#if defined(__FreeBSD_version) && __FreeBSD_version >= 1100000
++#if defined(__FreeBSD_version) && __FreeBSD_version >= 1100000 && defined(PROC_REAP_ACQUIRE)
+
+ #include <sys/procctl.h>
+