about summary refs log tree commit diff homepage
path: root/test/Runtime/POSIX/Futimesat.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Runtime/POSIX/Futimesat.c')
-rw-r--r--test/Runtime/POSIX/Futimesat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Runtime/POSIX/Futimesat.c b/test/Runtime/POSIX/Futimesat.c
index 4b059963..117b789e 100644
--- a/test/Runtime/POSIX/Futimesat.c
+++ b/test/Runtime/POSIX/Futimesat.c
@@ -12,6 +12,10 @@
 // RUN: rm -rf %t.klee-out
 // RUN: %klee --output-dir=%t.klee-out --posix-runtime --exit-on-error %t2.bc --sym-files 1 10
 
+// According to https://man7.org/linux/man-pages/man2/futimesat.2.html
+// _GNU_SOURCE should be defined for glibc.
+#define _GNU_SOURCE
+
 #include <assert.h>
 #include <fcntl.h>
 #include <sys/stat.h>