"Fix compilation with newer libpng versions", 2012-08-06 from ea0812c50b

This commit is contained in:
Harald Oehlmann 2015-12-07 22:36:05 +01:00
parent ce2950dd7e
commit 3aa27d3ccb

View File

@ -44,7 +44,9 @@
#endif /* _MSC_VER */ #endif /* _MSC_VER */
#ifndef NO_PNG #ifndef NO_PNG
#include "png.h" /* libpng header; includes zlib.h and setjmp.h */ #include <png.h>
#include <zlib.h>
#include <setjmp.h>
#endif /* NO_PNG */ #endif /* NO_PNG */
#include "maxipng.h" /* Maxicode shapes */ #include "maxipng.h" /* Maxicode shapes */