summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/service.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/plugin/base/service.cxx')
-rw-r--r--extensions/source/plugin/base/service.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/source/plugin/base/service.cxx b/extensions/source/plugin/base/service.cxx
index ac32608be0b9..2005f92ace4f 100644
--- a/extensions/source/plugin/base/service.cxx
+++ b/extensions/source/plugin/base/service.cxx
@@ -35,6 +35,12 @@
#undef _LINUX_SOURCE_COMPAT
#endif
+#ifdef WNT
+#include <prewin.h>
+#include <postwin.h>
+#undef OPTIONAL
+#endif
+
#include <cstdarg>
#include <plugin/impl.hxx>