summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/mm/mlock-random-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/mm/mlock-random-test.c')
-rw-r--r--tools/testing/selftests/mm/mlock-random-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/mm/mlock-random-test.c b/tools/testing/selftests/mm/mlock-random-test.c
index 782ea94dee2f..1fba77df7f62 100644
--- a/tools/testing/selftests/mm/mlock-random-test.c
+++ b/tools/testing/selftests/mm/mlock-random-test.c
@@ -7,6 +7,7 @@
#include <sys/resource.h>
#include <sys/capability.h>
#include <sys/mman.h>
+#include <linux/mman.h>
#include <fcntl.h>
#include <string.h>
#include <sys/ipc.h>