diff options
-rw-r--r-- | sd/qa/unit/SdrPdfImportTest.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/qa/unit/SdrPdfImportTest.cxx b/sd/qa/unit/SdrPdfImportTest.cxx index 657bb416c361..f5e24fd19ede 100644 --- a/sd/qa/unit/SdrPdfImportTest.cxx +++ b/sd/qa/unit/SdrPdfImportTest.cxx @@ -15,11 +15,13 @@ #include <comphelper/scopeguard.hxx> #include <comphelper/propertysequence.hxx> +#if HAVE_FEATURE_PDFIUM // Prevent workdir/UnpackedTarball/pdfium/public/fpdfview.h from including windows.h in a way that // it will define e.g. Yield as a macro: #include <prewin.h> #include <postwin.h> #include <fpdfview.h> +#endif #include <unotools/tempfile.hxx> #include <unotools/mediadescriptor.hxx> |