aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/xenqemu-xattr-size-max.patch
blob: b0c02cbdada417594ad628f166ac482983e5d467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- xen-4.9.0/tools/qemu-xen/hw/9pfs/9p.c.orig
+++ xen-4.9.0/tools/qemu-xen/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;