Remove <sys/types.h>; ffix too <sys/types.h> is only needed for 'struct stat'. That is better documented in system_data_types(7). Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/stat.2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/man2/stat.2 b/man2/stat.2 index d356ce15a..339920d71 100644 --- a/man2/stat.2 +++ b/man2/stat.2 @@ -41,7 +41,6 @@ stat, fstat, lstat, fstatat \- get file status .SH SYNOPSIS .nf -.B #include <sys/types.h> .B #include <sys/stat.h> .PP .BI "int stat(const char *restrict " pathname , @@ -50,7 +49,7 @@ stat, fstat, lstat, fstatat \- get file status .BI "int lstat(const char *restrict " pathname , .BI " struct stat *restrict " statbuf ); .PP -.BR "#include <fcntl.h> " "/* Definition of AT_* constants */" +.BR "#include <fcntl.h> " "/* Definition of " AT_* " constants */" .B #include <sys/stat.h> .PP .BI "int fstatat(int " dirfd ", const char *restrict " pathname , -- 2.32.0