summaryrefslogtreecommitdiff
path: root/user/qemu/xattr_size_max.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-03 04:54:31 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-03 04:54:31 -0500
commit76033d6ea82669a441290a19804b54e3892388a7 (patch)
tree4296076d60bcd864383468669d18e83e9ec453c6 /user/qemu/xattr_size_max.patch
parentc7b5a77ca52ce331d117cb8d5892277a487b95ce (diff)
downloadpackages-76033d6ea82669a441290a19804b54e3892388a7.tar.gz
packages-76033d6ea82669a441290a19804b54e3892388a7.tar.bz2
packages-76033d6ea82669a441290a19804b54e3892388a7.tar.xz
packages-76033d6ea82669a441290a19804b54e3892388a7.zip
user/qemu: new package
Diffstat (limited to 'user/qemu/xattr_size_max.patch')
-rw-r--r--user/qemu/xattr_size_max.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/qemu/xattr_size_max.patch b/user/qemu/xattr_size_max.patch
new file mode 100644
index 000000000..1a33cbf5e
--- /dev/null
+++ b/user/qemu/xattr_size_max.patch
@@ -0,0 +1,15 @@
+diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
+index faebd91..a0f15b6 100644
+--- a/hw/9pfs/9p.c
++++ b/hw/9pfs/9p.c
+@@ -25,6 +25,10 @@
+ #include "trace.h"
+ #include "migration/migration.h"
+
++#ifdef __linux__
++#include <linux/limits.h> /* for XATTR_SIZE_MAX */
++#endif
++
+ int open_fd_hw;
+ int total_open_fd;
+ static int open_fd_rc;