[PATCH] fsx: add missing #include for sys/uio.h

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



The <sys/uio.h> header is needed to provide the function declarations
for preadv2() and pwritev2().

Signed-off-by: Theodore Ts'o <tytso@xxxxxxx>
---
 ltp/fsx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ltp/fsx.c b/ltp/fsx.c
index 2c19fff88..9a3d4cce0 100644
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -38,6 +38,7 @@
 #include <liburing.h>
 #endif
 #include <sys/syscall.h>
+#include <sys/uio.h>
 
 #ifndef MAP_FILE
 # define MAP_FILE 0
-- 
2.47.2





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux