<unistd.h> doesn't seem to be needed: AT_* constants come from <fcntl.h> STATX_* constants come from <sys/stat.h> 'struct statx' comes from <sys/stat.h> Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/statx.2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/man2/statx.2 b/man2/statx.2 index a14880630..62e86fb1b 100644 --- a/man2/statx.2 +++ b/man2/statx.2 @@ -32,9 +32,8 @@ statx \- get file status (extended) .SH SYNOPSIS .nf +.BR "#include <fcntl.h> " "/* Definition of " AT_* " constants */" .B #include <sys/stat.h> -.B #include <unistd.h> -.BR "#include <fcntl.h> " "/* Definition of AT_* constants */" .PP .BI "int statx(int " dirfd ", const char *restrict " pathname ", int " flags , .BI " unsigned int " mask ", struct statx *restrict " statxbuf ); -- 2.32.0