Skip to content

Commit

Permalink
test/Runtime/POSIX/Futimesat: futimesat(2) requires _GNU_SOURCE on gl…
Browse files Browse the repository at this point in the history
…ibc platforms
  • Loading branch information
lzaoral authored and ccadar committed Oct 17, 2021
1 parent 89f74ea commit 5ee3a54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/Runtime/POSIX/Futimesat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 5ee3a54

Please sign in to comment.