diff options
author | Nathan Moinvaziri <nathan@solidstatenetworks.com> | 2020-10-30 19:33:11 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-11-02 14:42:58 +0100 |
commit | 5c2a6ea6a9cbb7828b4ce27873b00b0f30b42261 (patch) | |
tree | 2f6c9d3a49026d33d7ef7abe9b82d4f2f5ff9f03 /test | |
parent | ebce12468015ea9ccb982cdb473ff0e264e9ea04 (diff) |
Fixed minigzip_fuzzer not compiling on latest macOS due to missing _POSIX_C_SOURCE.
Diffstat (limited to 'test')
-rw-r--r-- | test/fuzz/minigzip_fuzzer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fuzz/minigzip_fuzzer.c b/test/fuzz/minigzip_fuzzer.c index 92ccedc..1f19126 100644 --- a/test/fuzz/minigzip_fuzzer.c +++ b/test/fuzz/minigzip_fuzzer.c @@ -13,6 +13,7 @@ */ #define _POSIX_SOURCE 1 /* This file needs POSIX for fileno(). */ +#define _POSIX_C_SOURCE 200112 /* For snprintf(). */ #include "zbuild.h" #ifdef ZLIB_COMPAT |