kselftest/vm: fix tests build with old libc
[linux-2.6-microblaze.git] / tools / testing / selftests / vm / userfaultfd.c
index 2f49c9a..3fc1d2e 100644 (file)
@@ -46,6 +46,7 @@
 #include <signal.h>
 #include <poll.h>
 #include <string.h>
+#include <linux/mman.h>
 #include <sys/mman.h>
 #include <sys/syscall.h>
 #include <sys/ioctl.h>