pngnq icon indicating copy to clipboard operation
pngnq copied to clipboard

doesn't build with libpng15 or libpng16

Open nieder opened this issue 12 years ago • 0 comments

src/rwpng.c doesn't build when using libpng15 or libpng16 because the macro ZLIB_VERSION is not found. This is because png.h in these newer versions no longer #include <zlib.h> themselves. Adding "#include <zlib.h>" to src/rwpng.c directly allows the build to finish and pngnq to work.

nieder avatar Jun 25 '13 14:06 nieder