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

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



On Tue, Feb 18, 2025 at 09:50:12AM -0500, Theodore Ts'o wrote:
> 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>

Already fixed by commit a7d82369dcae0d ("fsx: fix compile error for
preadv2()") in for-next.

--D

>  #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