aboutsummaryrefslogtreecommitdiffstats
path: root/main/xen/xenqemu-xattr-size-max.patch
blob: 4a48ca0ce7199585eea3f74d4bb261de86c9b947 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/tools/qemu-xen/hw/9pfs/9p.c
+++ b/tools/qemu-xen/hw/9pfs/9p.c
@@ -30,6 +30,10 @@
 #include <math.h>
 #include <linux/limits.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;