diff options
| author | Paul Marquess <pmqs@outlook.com> | 2024-02-04 21:49:53 +0000 |
|---|---|---|
| committer | Mark Adler <madler@alumni.caltech.edu> | 2024-02-05 23:51:31 -0800 |
| commit | 4b98fd39c817eb80f5951896a71b0c21f8161eab (patch) | |
| tree | 63640dba0e4f73c22c5b5a9c2979124ef8f9d052 | |
| parent | abd3d1a28930f89375d4b41408b39f6c1be157b2 (diff) | |
| download | zlib-4b98fd39c817eb80f5951896a71b0c21f8161eab.tar.gz zlib-4b98fd39c817eb80f5951896a71b0c21f8161eab.tar.bz2 zlib-4b98fd39c817eb80f5951896a71b0c21f8161eab.zip | |
Enable fileno() for POSIX system in minigzip.c.
| -rw-r--r-- | test/minigzip.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/minigzip.c b/test/minigzip.c index 7c9eb79..974a98d 100644 --- a/test/minigzip.c +++ b/test/minigzip.c | |||
| @@ -15,6 +15,10 @@ | |||
| 15 | 15 | ||
| 16 | /* @(#) $Id$ */ | 16 | /* @(#) $Id$ */ |
| 17 | 17 | ||
| 18 | #ifndef _POSIX_C_SOURCE | ||
| 19 | # define _POSIX_C_SOURCE 200112L | ||
| 20 | #endif | ||
| 21 | |||
| 18 | #include "zlib.h" | 22 | #include "zlib.h" |
| 19 | #include <stdio.h> | 23 | #include <stdio.h> |
| 20 | 24 | ||
