Index: src/bin/jp2/convert.c --- src/bin/jp2/convert.c.orig 2014-04-29 14:58:10.000000000 +0200 +++ src/bin/jp2/convert.c 2018-11-04 16:03:05.226144000 +0100 @@ -43,12 +43,12 @@ #include #ifdef OPJ_HAVE_LIBTIFF -#include +#include "tiffio.h" #endif /* OPJ_HAVE_LIBTIFF */ #ifdef OPJ_HAVE_LIBPNG -#include -#include +#include "zlib.h" +#include "png.h" #endif /* OPJ_HAVE_LIBPNG */ #include "openjpeg.h" Index: src/bin/jpwl/convert.c --- src/bin/jpwl/convert.c.orig 2014-04-29 14:58:10.000000000 +0200 +++ src/bin/jpwl/convert.c 2018-11-04 16:02:50.410298000 +0100 @@ -43,12 +43,12 @@ #include #ifdef OPJ_HAVE_LIBTIFF -#include +#include "tiffio.h" #endif /* OPJ_HAVE_LIBTIFF */ #ifdef OPJ_HAVE_LIBPNG -#include -#include +#include "zlib.h" +#include "png.h" #endif /* OPJ_HAVE_LIBPNG */ #include "openjpeg.h"