Created
October 27, 2011 19:06
-
-
Save mistydemeo/1320510 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -Nurd -x'*~' leptonica-1.68.orig/src/pngio.c leptonica-1.68/src/pngio.c | |
--- leptonica-1.68.orig/src/pngio.c 2011-02-01 00:41:12.000000000 -0500 | |
+++ leptonica-1.68/src/pngio.c 2011-07-09 09:17:17.000000000 -0400 | |
@@ -108,6 +108,10 @@ | |
#include "png.h" | |
+#ifdef HAVE_LIBZ | |
+#include "zlib.h" | |
+#endif | |
+ | |
/* ----------------Set defaults for read/write options ----------------- */ | |
/* strip 16 bpp --> 8 bpp on reading png; default is for stripping */ | |
static l_int32 var_PNG_STRIP_16_TO_8 = 1; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment