Missing include for Z_BEST_COMPRESSION --- image.cxx +++ image.cxx @@ -91,6 +91,7 @@ #endif // HAVE_LIBJPEG #ifdef HAVE_LIBPNG +# include # include #endif // HAVE_LIBPNG