summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2012-10-31 12:07:17 +0100
committerPetr Mladek <pmladek@suse.cz>2012-10-31 12:09:33 +0100
commitbf176d11892d6ebe949c3c73841800f3a0c8a0d6 (patch)
tree0363f86de2eb73e10c3d69cdd3740f150e78ad9b /sdext
parent99f376d2d143fa169fbf6e2527a897277d586524 (diff)
fix build with system poppler-0.21.0
UTF8.h is split and renamed to UTF.h Change-Id: I3c0c271324f79189aa2d10b9f159d2cb5743eb64
Diffstat (limited to 'sdext')
-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