From f1c0678c16e67873efb9fa59827c9fd68c840ff3 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Tue, 31 Jan 2012 07:37:46 -0600 Subject: [PATCH] [libpng16] Fixed non-configure builds (don't include pngprefix.h in them) --- pngpriv.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pngpriv.h b/pngpriv.h index 731b4ef05..16661ad58 100644 --- a/pngpriv.h +++ b/pngpriv.h @@ -139,7 +139,9 @@ #include "png.h" #include "pnginfo.h" #include "pngstruct.h" -#include "pngprefix.h" +#ifdef PNG_PREFIX +# include "pngprefix.h" +#endif /* pngconf.h does not set PNG_DLL_EXPORT unless it is required, so: */ #ifndef PNG_DLL_EXPORT