summaryrefslogtreecommitdiff
path: root/third_party/libpng16
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libpng16')
-rw-r--r--third_party/libpng16/0000-build-config.patch12
-rw-r--r--third_party/libpng16/pngstruct.h2
2 files changed, 1 insertions, 13 deletions
diff --git a/third_party/libpng16/0000-build-config.patch b/third_party/libpng16/0000-build-config.patch
index d997cbd18b..5c30866405 100644
--- a/third_party/libpng16/0000-build-config.patch
+++ b/third_party/libpng16/0000-build-config.patch
@@ -29,15 +29,3 @@ diff a/third_party/libpng16/pngmem.c b/third_party/libpng16/pngmem.c
}
#ifdef PNG_USER_MEM_SUPPORTED
-diff a/third_party/libpng16/pngstruct.h b/third_party/libpng16/pngstruct.h
---- a/third_party/libpng16/pngstruct.h
-+++ b/third_party/libpng16/pngstruct.h
-@@ -27,7 +27,7 @@
- /* We must ensure that zlib uses 'const' in declarations. */
- # define ZLIB_CONST
- #endif
--#include "zlib.h"
-+#include "third_party/zlib_v1211/zlib.h"
- #ifdef const
- /* zlib.h sometimes #defines const to nothing, undo this. */
- # undef const
diff --git a/third_party/libpng16/pngstruct.h b/third_party/libpng16/pngstruct.h
index bbd73211ab..c1f35edef5 100644
--- a/third_party/libpng16/pngstruct.h
+++ b/third_party/libpng16/pngstruct.h
@@ -27,7 +27,7 @@
/* We must ensure that zlib uses 'const' in declarations. */
# define ZLIB_CONST
#endif
-#include "third_party/zlib_v1211/zlib.h"
+#include "zlib.h"
#ifdef const
/* zlib.h sometimes #defines const to nothing, undo this. */
# undef const