diff options
Diffstat (limited to 'sdext/source/pdfimport/xpdfwrapper')
-rw-r--r-- | sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx index aee3a7081ba8..71b0c8989228 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx +++ b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx @@ -32,7 +32,12 @@ #include "pnghelper.hxx" #include <sal/macros.h> +#ifdef SYSTEM_ZLIB #include "zlib.h" +#else +#define ZLIB_INTERNAL 1 +#include <zlib/zlib.h> +#endif using namespace pdfi; |