From 5ee3a54001fe4291a0a5c3ce3beb33f856836cbb Mon Sep 17 00:00:00 2001 From: Lukas Zaoral Date: Thu, 14 Oct 2021 16:24:43 +0200 Subject: test/Runtime/POSIX/Futimesat: futimesat(2) requires _GNU_SOURCE on glibc platforms --- test/Runtime/POSIX/Futimesat.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/Runtime/POSIX') 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 #include #include -- cgit 1.4.1