From: "Theodore Ts'o" <tytso@mit.edu>
To: fstests@vger.kernel.org
Cc: "Theodore Ts'o" <tytso@mit.edu>
Subject: [PATCH] fsx: add missing #include for sys/uio.h
Date: Tue, 18 Feb 2025 09:50:12 -0500 [thread overview]
Message-ID: <20250218145012.382965-1-tytso@mit.edu> (raw)
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
next reply other threads:[~2025-02-18 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-18 14:50 Theodore Ts'o [this message]
2025-02-18 17:36 ` [PATCH] fsx: add missing #include for sys/uio.h Darrick J. Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250218145012.382965-1-tytso@mit.edu \
--to=tytso@mit.edu \
--cc=fstests@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox