From bf176d11892d6ebe949c3c73841800f3a0c8a0d6 Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Wed, 31 Oct 2012 12:07:17 +0100 Subject: fix build with system poppler-0.21.0 UTF8.h is split and renamed to UTF.h Change-Id: I3c0c271324f79189aa2d10b9f159d2cb5743eb64 --- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sdext') 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 -- cgit