aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h')
-rw-r--r--emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h b/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h
new file mode 100644
index 000000000000..06a07c0f9425
--- /dev/null
+++ b/emulators/qemu7/files/patch-bsd-user_host_i386_host-signal.h
@@ -0,0 +1,12 @@
+--- bsd-user/host/i386/host-signal.h.orig 2022-09-08 16:00:45 UTC
++++ bsd-user/host/i386/host-signal.h
+@@ -9,6 +9,9 @@
+ #ifndef I386_HOST_SIGNAL_H
+ #define I386_HOST_SIGNAL_H
+
++#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__NetBSD__) || defined(__OpenBSD__)
++#include <sys/param.h>
++#endif
+ #include <sys/ucontext.h>
+ #include <machine/trap.h>
+ #include <vm/pmap.h>