diff --git a/ANNOUNCE b/ANNOUNCE index 037d75429..c9cd11934 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -527,6 +527,7 @@ Version 1.6.0beta30 [October 24, 2012] Version 1.6.0beta31 [October 26, 2012] Undid the erroneous change to vstudio/pngvalid build in libpng-1.6.0beta30. + Made pngvalid so that it will build outside the libpng source tree. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index a7fad813a..0a25103d3 100644 --- a/CHANGES +++ b/CHANGES @@ -4279,6 +4279,7 @@ Version 1.6.0beta30 [October 24, 2012] Version 1.6.0beta31 [October 26, 2012] Undid the erroneous change to vstudio/pngvalid build in libpng-1.6.0beta30. + Made pngvalid so that it will build outside the libpng source tree. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index c1f41bc52..7d39161a8 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -107,7 +107,11 @@ typedef png_byte *png_const_bytep; #endif /***************************** EXCEPTION HANDLING *****************************/ -#include "../visupng/cexcept.h" +#ifdef PNG_FREESTANDING_TESTS +# include +#else +# include "../visupng/cexcept.h" +#endif #ifdef __cplusplus # define this not_the_cpp_this