aboutsummaryrefslogtreecommitdiffstats
path: root/man2/memfd_create.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/memfd_create.2')
-rw-r--r--man2/memfd_create.25
1 files changed, 1 insertions, 4 deletions
diff --git a/man2/memfd_create.2 b/man2/memfd_create.2
index 4cb8b0b4eb..0d5b7817c5 100644
--- a/man2/memfd_create.2
+++ b/man2/memfd_create.2
@@ -498,12 +498,9 @@ main(int argc, char *argv[])
.\" SRC BEGIN (t_get_seals.c)
.EX
#define _GNU_SOURCE
-#include <sys/mman.h>
#include <fcntl.h>
-#include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
#include <stdio.h>
+#include <stdlib.h>
#define errExit(msg) do { perror(msg); exit(EXIT_FAILURE); \e
} while (0)