summaryrefslogtreecommitdiff
path: root/media-gfx/pngnq/files/pngnq-1.0-libpng15.patch
blob: 7f791fc109adb1d5023a65b20503535ab960b7b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/rwpng.c
+++ b/src/rwpng.c
@@ -31,8 +31,9 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <zlib.h>
 
-#include "png.h"        /* libpng header; includes zlib.h */
+#include "png.h"        /* libpng header */
 #include "rwpng.h"      /* typedefs, common macros, public prototypes */
 
 /* future versions of libpng will provide this macro: */