7f40954077
commit: https://git.alpinelinux.org/cgit/aports/commit/?id=f2abbe83ab2dcb11c6a60cc57e8afdc8ee812d18
15 lines
325 B
Diff
15 lines
325 B
Diff
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;
|