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