diff options
Diffstat (limited to 'store/test-log.c')
| -rw-r--r-- | store/test-log.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/store/test-log.c b/store/test-log.c index 451f354..6e81c4c 100644 --- a/store/test-log.c +++ b/store/test-log.c @@ -5,6 +5,9 @@ * model kept, and its files stay as many as the unreleased entries need. * Then list images: written whole, read back, refused when damaged. */ #define _POSIX_C_SOURCE 200809L +#ifdef __APPLE__ +#define _DARWIN_C_SOURCE /* mkdtemp, which _POSIX_C_SOURCE hides there */ +#endif #include "log.h" #include "store.h" #include <dirent.h> |
