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