diff options
Diffstat (limited to 'external/nss/nss-3.13.5-zlib-werror.patch')
-rw-r--r-- | external/nss/nss-3.13.5-zlib-werror.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/external/nss/nss-3.13.5-zlib-werror.patch b/external/nss/nss-3.13.5-zlib-werror.patch new file mode 100644 index 000000000..0cdbf7808 --- /dev/null +++ b/external/nss/nss-3.13.5-zlib-werror.patch @@ -0,0 +1,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 |