Skip to content

Commit

Permalink
Protect header inclusion for zlib on Win.
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescAlted committed Oct 6, 2021
1 parent 452e650 commit 7b5caf8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@
Changes from 1.21.0 to 1.21.1
=============================

#XXX version-specific blurb XXX#

* BloscLZ updated to 2.5.1
* Zlib updated to 1.2.11
* Zstd updated to 1.5.0

Changes from 1.20.1 to 1.21.0
=============================
Expand Down
4 changes: 3 additions & 1 deletion internal-complibs/zlib-1.2.11/gzguts.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/

#include <unistd.h>
#ifndef _WIN32
# include <unistd.h>
#endif

#ifdef _LARGEFILE64_SOURCE
# ifndef _LARGEFILE_SOURCE
Expand Down

0 comments on commit 7b5caf8

Please sign in to comment.