summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index e6bc7610d431..77a9aa6ba840 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -34,7 +34,11 @@
#pragma warning(push, 1)
#endif
+#if POPPLER_CHECK_VERSION(0, 21, 0)
+#include "UTF.h"
+#else
#include "UTF8.h"
+#endif
#if defined __SUNPRO_CC
#pragma enable_warn