* [PATCH] fsx: add missing #include for sys/uio.h
@ 2025-02-18 14:50 Theodore Ts'o
2025-02-18 17:36 ` Darrick J. Wong
0 siblings, 1 reply; 2+ messages in thread
From: Theodore Ts'o @ 2025-02-18 14:50 UTC (permalink / raw)
To: fstests; +Cc: Theodore Ts'o
The <sys/uio.h> header is needed to provide the function declarations
for preadv2() and pwritev2().
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fsx: add missing #include for sys/uio.h
2025-02-18 14:50 [PATCH] fsx: add missing #include for sys/uio.h Theodore Ts'o
@ 2025-02-18 17:36 ` Darrick J. Wong
0 siblings, 0 replies; 2+ messages in thread
From: Darrick J. Wong @ 2025-02-18 17:36 UTC (permalink / raw)
To: Theodore Ts'o; +Cc: fstests
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@mit.edu>
> ---
> 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
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-18 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-18 14:50 [PATCH] fsx: add missing #include for sys/uio.h Theodore Ts'o
2025-02-18 17:36 ` Darrick J. Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox