diff options
author | John Bowler <jbowler@acm.org> | 2012-10-25 19:15:55 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2012-10-25 19:15:55 -0500 |
commit | e6b710cb3fc573688c2150f9b777156f5d053518 (patch) | |
tree | 2a7132f7b1fe83f961a7493650e54fa3017a5340 /contrib | |
parent | be85fa60274e1b37e4feeca7109ea29c6f82e294 (diff) | |
download | libpng-e6b710cb3fc573688c2150f9b777156f5d053518.tar.gz |
[libpng16] Made pngvalid so that it will build outside the libpng source tree.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/libtests/pngvalid.c | 6 |
1 files changed, 5 insertions, 1 deletions
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 <cexcept.h> +#else +# include "../visupng/cexcept.h" +#endif #ifdef __cplusplus # define this not_the_cpp_this |