summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/openat2
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/openat2')
-rw-r--r--tools/testing/selftests/openat2/openat2_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/openat2/openat2_test.c b/tools/testing/selftests/openat2/openat2_test.c
index 9024754530..5790ab4465 100644
--- a/tools/testing/selftests/openat2/openat2_test.c
+++ b/tools/testing/selftests/openat2/openat2_test.c
@@ -5,6 +5,7 @@
*/
#define _GNU_SOURCE
+#define __SANE_USERSPACE_TYPES__ // Use ll64
#include <fcntl.h>
#include <sched.h>
#include <sys/stat.h>