diff --git a/tests/comparePGXimages.c b/tests/comparePGXimages.c index 3db1dca8..c6ccf488 100644 --- a/tests/comparePGXimages.c +++ b/tests/comparePGXimages.c @@ -45,6 +45,10 @@ #include "format_defs.h" #include "convert.h" +#ifdef OPJ_HAVE_LIBTIFF +#include /* TIFFSetWarningHandler */ +#endif /* OPJ_HAVE_LIBTIFF */ + /******************************************************************************* * Parse MSE and PEAK input values ( * separator = ":"