summaryrefslogtreecommitdiff
path: root/user/qemu/fix-sockios-header.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/qemu/fix-sockios-header.patch')
-rw-r--r--user/qemu/fix-sockios-header.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/user/qemu/fix-sockios-header.patch b/user/qemu/fix-sockios-header.patch
new file mode 100644
index 000000000..1f3cd767c
--- /dev/null
+++ b/user/qemu/fix-sockios-header.patch
@@ -0,0 +1,13 @@
+diff --git a/linux-user/syscall.c b/linux-user/syscall.c
+index 43d0562..afa0ac4 100644
+--- a/linux-user/syscall.c
++++ b/linux-user/syscall.c
+@@ -59,6 +59,7 @@ int __clone2(int (*fn)(void *), void *child_stack_base,
+ #include <linux/icmp.h>
+ #include <linux/icmpv6.h>
+ #include <linux/errqueue.h>
++#include <linux/sockios.h>
+ #include <linux/random.h>
+ #include "qemu-common.h"
+ #ifdef CONFIG_TIMERFD
+ #include <sys/timerfd.h>