diff options
Diffstat (limited to 'util/libreboot-utils/mkhtemp.c')
| -rw-r--r-- | util/libreboot-utils/mkhtemp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/libreboot-utils/mkhtemp.c b/util/libreboot-utils/mkhtemp.c index ced8aa96..c8ddb1b1 100644 --- a/util/libreboot-utils/mkhtemp.c +++ b/util/libreboot-utils/mkhtemp.c @@ -16,9 +16,9 @@ * while the specification that it implements evolves. */ -#if defined(__linux__) && !defined(_GNU_SOURCE) +#if !defined(_POSIX_C_SOURCE) /* for openat2 on linux */ -#define _GNU_SOURCE 1 +#define _POSIX_C_SOURCE 200809L #endif #include <sys/types.h> |
