Commit 1f2b3ed 1 parent 0f55d12 commit 1f2b3ed Copy full SHA for 1f2b3ed
File tree 2 files changed +19
-0
lines changed
2 files changed +19
-0
lines changed Original file line number Diff line number Diff line change 3
3
* For conditions of distribution and use, see copyright notice in zlib.h
4
4
*/
5
5
6
+ #ifndef _WIN32
7
+ #include <unistd.h>
8
+ #endif
9
+
6
10
#ifdef _LARGEFILE64_SOURCE
7
11
# ifndef _LARGEFILE_SOURCE
8
12
# define _LARGEFILE_SOURCE 1
Original file line number Diff line number Diff line change
1
+ diff --git a/third_party/zlib/gzguts.h b/third_party/zlib/gzguts.h
2
+ index 57faf37165..54f668fcb2 100644
3
+ --- a/third_party/zlib/gzguts.h
4
+ +++ b/third_party/zlib/gzguts.h
5
+ @@ -3,6 +3,10 @@
6
+ * For conditions of distribution and use, see copyright notice in zlib.h
7
+ */
8
+
9
+ + #ifndef _WIN32
10
+ + #include <unistd.h>
11
+ + #endif
12
+ +
13
+ #ifdef _LARGEFILE64_SOURCE
14
+ # ifndef _LARGEFILE_SOURCE
15
+ # define _LARGEFILE_SOURCE 1
You can’t perform that action at this time.
0 commit comments