<sys/types.h> makes no sense for a function that only uses 'int'. The flags used by this function are provided by <fcntl.h> (or others), but not by <linux/userfaultfd.h>. Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx> --- man2/userfaultfd.2 | 2 -- 1 file changed, 2 deletions(-) diff --git a/man2/userfaultfd.2 b/man2/userfaultfd.2 index 593c189d8..e1a18a9d9 100644 --- a/man2/userfaultfd.2 +++ b/man2/userfaultfd.2 @@ -29,8 +29,6 @@ userfaultfd \- create a file descriptor for handling page faults in user space .SH SYNOPSIS .nf -.B #include <sys/types.h> -.B #include <linux/userfaultfd.h> .PP .BI "int userfaultfd(int " flags ); .fi -- 2.32.0