summaryrefslogtreecommitdiff
path: root/graphics/pngnq/files/patch-rwpng.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/pngnq/files/patch-rwpng.c')
-rw-r--r--graphics/pngnq/files/patch-rwpng.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/pngnq/files/patch-rwpng.c b/graphics/pngnq/files/patch-rwpng.c
new file mode 100644
index 000000000000..563f04f9fb14
--- /dev/null
+++ b/graphics/pngnq/files/patch-rwpng.c
@@ -0,0 +1,10 @@
+--- src/rwpng.c.orig 2010-05-11 00:42:56.000000000 +0200
++++ src/rwpng.c 2012-04-25 19:10:41.000000000 +0200
+@@ -33,6 +33,7 @@
+ #include <stdlib.h>
+
+ #include "png.h" /* libpng header; includes zlib.h */
++#include "zlib.h"
+ #include "rwpng.h" /* typedefs, common macros, public prototypes */
+
+ /* future versions of libpng will provide this macro: */