From: Nathan Moinvaziri Date: Fri, 10 Jul 2020 21:06:38 +0000 (-0700) Subject: Fixed warning about implicit declaration of function fileno(). X-Git-Tag: 1.9.9-b1~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7969f5ac724b47f1fee5fe17a140c8526c34f27;p=thirdparty%2Fzlib-ng.git Fixed warning about implicit declaration of function fileno(). --- diff --git a/test/fuzz/minigzip_fuzzer.c b/test/fuzz/minigzip_fuzzer.c index a4bd112d..92ccedc9 100644 --- a/test/fuzz/minigzip_fuzzer.c +++ b/test/fuzz/minigzip_fuzzer.c @@ -12,6 +12,8 @@ * real thing. */ +#define _POSIX_SOURCE 1 /* This file needs POSIX for fileno(). */ + #include "zbuild.h" #ifdef ZLIB_COMPAT # include "zlib.h"