~dricottone/huttese-apk

ref: 8bd243fbcc63f282a809510e2d264335c1809698 huttese-apk/sr.ht/qemu-minimal-static/xattr_size_max.patch -rw-r--r-- 325 bytes
8bd243fb — Drew DeVault prom-aggregation-gateway: upgrade to 123c6bfc5e07fb8f118c19b3281855bcb2463c39 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;