diff --git a/core/deps/libpng/pnglibconf.h b/core/deps/libpng/pnglibconf.h index 502dd7a93..7319dee6d 100644 --- a/core/deps/libpng/pnglibconf.h +++ b/core/deps/libpng/pnglibconf.h @@ -209,7 +209,7 @@ #define PNG_USER_HEIGHT_MAX 1000000 #define PNG_USER_WIDTH_MAX 1000000 #define PNG_ZBUF_SIZE 8192 -#define PNG_ZLIB_VERNUM 0x12b0 +#define PNG_ZLIB_VERNUM 0x1280 #define PNG_Z_DEFAULT_COMPRESSION (-1) #define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0 #define PNG_Z_DEFAULT_STRATEGY 1 diff --git a/core/deps/libpng/pngstruct.h b/core/deps/libpng/pngstruct.h index d83f97125..efbabfeb1 100644 --- a/core/deps/libpng/pngstruct.h +++ b/core/deps/libpng/pngstruct.h @@ -27,7 +27,7 @@ /* We must ensure that zlib uses 'const' in declarations. */ # define ZLIB_CONST #endif -#include "zlib.h" +#include "../zlib/zlib.h" #ifdef const /* zlib.h sometimes #defines const to nothing, undo this. */ # undef const