From 3aa27d3ccbb20b62ea3b771637592be7a63af431 Mon Sep 17 00:00:00 2001 From: Harald Oehlmann Date: Mon, 7 Dec 2015 22:36:05 +0100 Subject: [PATCH] "Fix compilation with newer libpng versions", 2012-08-06 from https://github.com/zint/zint/commit/ea0812c50b636aa9cec3d467ca35e8addb5c1a9d --- backend/png.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/png.c b/backend/png.c index c5356356..7f83237f 100644 --- a/backend/png.c +++ b/backend/png.c @@ -44,7 +44,9 @@ #endif /* _MSC_VER */ #ifndef NO_PNG -#include "png.h" /* libpng header; includes zlib.h and setjmp.h */ +#include +#include +#include #endif /* NO_PNG */ #include "maxipng.h" /* Maxicode shapes */