summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
index e3fc861982f3..0c3497abcbad 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
@@ -30,7 +30,11 @@
#include "pnghelper.hxx"
-#include "zlib/zlib.h"
+#ifdef SYSTEM_ZLIB
+#include "zlib.h"
+#else
+#include <zlib/zlib.h>
+#endif
using namespace pdfi;