From 8a64559c902ff3525c79c8e4be73577f6064a288 Mon Sep 17 00:00:00 2001 From: Alec Moskvin Date: Sat, 24 Sep 2011 10:54:25 -0400 Subject: [PATCH] Fix building with libpng 1.5 The png.h header no longer internally includes zlib.h, so it should be included explicitly. --- src/IMG_savepng.cpp | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/IMG_savepng.cpp b/src/IMG_savepng.cpp index 8838362..e48a34f 100644 --- a/src/IMG_savepng.cpp +++ b/src/IMG_savepng.cpp @@ -27,6 +27,7 @@ #ifdef IMPLEMENT_SAVE_PNG #include +#include #endif #include -- 1.7.6.1