Skip to content

Commit

Permalink
Add missing include that causes zlib test to fail on missing lseek() …
Browse files Browse the repository at this point in the history
…and read() declarations.
  • Loading branch information
juj committed Jan 8, 2016
1 parent 3cee0f2 commit d67b514
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/zlib/gzguts.h
Expand Up @@ -27,6 +27,10 @@
#endif
#include <fcntl.h>

#ifdef __unix__
#include <unistd.h>
#endif

#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS
#endif
Expand Down

0 comments on commit d67b514

Please sign in to comment.