fsx: add missing #include for sys/uio.h
PATCH 1/1 fsx: add missing #include for sys/uio.h
The <sys/uio.h> header is needed to provide the function declarations for preadv2() and pwritev2().
Signed-off-by Theodore Ts'o <[email protected]>
--- ltp/fsx.c | 1 + 1 file changed, 1 insertion(+)
ltp/fsx.c +1 -0
@@ -38,6 +38,7 @@#include <liburing.h> #endif #include <sys/syscall.h> +#include <sys/uio.h> #ifndef MAP_FILE # define MAP_FILE 0
Signature · 1 line
2.47.2
Quoted 13 lines · Theodore Ts'o
The <
sys/uio.h> header is needed to provide the function declarations forpreadv2()andpwritev2().Signed-off-by Theodore Ts'o <[email protected]>--- ltp/fsx.c | 1 + 1 file changed, 1 insertion(+)ltp/fsx.c +0
-0
ltp/fsx.c line 41
Quoted 4 lines
ltp/fsx.c +1
-0@@ -38,6 +38,7 @@#include <liburing.h> #endif #include <sys/syscall.h> +#include <sys/uio.h>
Already fixed by commit a7d82369dcae0d ("fsx: fix compile error for preadv2()") in for-next.
--D
Quoted 6 lines
ltp/fsx.c +0
-0#ifndef MAP_FILE # define MAP_FILE 0Signature · 1 line
2.47.2