diff mbox series

[1/1] 9pfs: include linux/limits.h for XATTR_SIZE_MAX

Message ID 20200515203015.7090-2-dan@dlrobertson.com
State New
Headers show
Series [1/1] 9pfs: include linux/limits.h for XATTR_SIZE_MAX | expand

Commit Message

Dan Robertson May 15, 2020, 8:30 p.m. UTC
linux/limits.h should be included for the XATTR_SIZE_MAX definition used
by v9fs_xattrcreate.

Signed-off-by: Dan Robertson <dan@dlrobertson.com>
---
 hw/9pfs/9p.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/hw/9pfs/9p.c b/hw/9pfs/9p.c
index a2a14b5979..68c2df7333 100644
--- a/hw/9pfs/9p.c
+++ b/hw/9pfs/9p.c
@@ -28,6 +28,7 @@ 
 #include "sysemu/qtest.h"
 #include "qemu/xxhash.h"
 #include <math.h>
+#include <linux/limits.h>
 
 int open_fd_hw;
 int total_open_fd;