diff options
| author | Mika Lindqvist <postmaster@raasu.org> | 2021-05-25 17:46:46 +0300 |
|---|---|---|
| committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2021-05-27 12:39:23 +0200 |
| commit | 414ec0f00d85394849d0ce26c799faf094e2b6fb (patch) | |
| tree | f1368477f9f48995d2b75fa95569e92b4e9bdbbe /test/switchlevels.c | |
| parent | 8b5630050aa541c2e49632bf2dc69b70f4120f5d (diff) | |
| download | Project-Tick-414ec0f00d85394849d0ce26c799faf094e2b6fb.tar.gz Project-Tick-414ec0f00d85394849d0ce26c799faf094e2b6fb.zip | |
Fix build under Cygwin.
Diffstat (limited to 'test/switchlevels.c')
| -rw-r--r-- | test/switchlevels.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/switchlevels.c b/test/switchlevels.c index 0f850113e2..a4ec4b7c76 100644 --- a/test/switchlevels.c +++ b/test/switchlevels.c @@ -2,6 +2,8 @@ * Each chunk is compressed with a user-specified level. */ +#define _POSIX_SOURCE 1 /* This file needs POSIX for fileno(). */ + #include "zbuild.h" #ifdef ZLIB_COMPAT # include "zlib.h" |
