office-gobmx/nss/nss-3.13.5-zlib-werror.patch
Stephan Bergmann d4e26ea852 -Werror=implicit-function-declaration
...when building --without-system-zlib on Linux.

Change-Id: I9bcb355ec75291609b28397c16068acf293ba6eb
2012-07-17 08:57:52 +02:00

10 lines
382 B
Diff

--- misc/nss-3.13.5/mozilla/security/nss/lib/zlib/gzguts.h 2010-08-22 03:07:03.000000000 +0200
+++ misc/build/nss-3.13.5/mozilla/security/nss/lib/zlib/gzguts.h 2012-07-17 08:52:14.821552788 +0200
@@ -26,6 +26,7 @@
# include <limits.h>
#endif
#include <fcntl.h>
+#include <unistd.h>
#ifdef NO_DEFLATE /* for compatibility with old definition */
# define NO_GZCOMPRESS