summaryrefslogtreecommitdiffstats
path: root/external/nss/nss-3.13.5-zlib-werror.patch
blob: 0cdbf7808f8137f3750d30be337529ed6f3eba56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/a/nss/lib/zlib/gzguts.h	2010-08-22 03:07:03.000000000 +0200
+++ b/b/nss/lib/zlib/gzguts.h	2012-07-17 08:52:14.821552788 +0200
@@ -26,6 +26,10 @@
 #  define write _write
 #  define close _close
 #endif
+
+#ifndef _WIN32
+#include <unistd.h>
+#endif
 
 #ifdef NO_DEFLATE       /* for compatibility with old definition */
 #  define NO_GZCOMPRESS