summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/manager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/plugin/base/manager.cxx')
-rw-r--r--extensions/source/plugin/base/manager.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/source/plugin/base/manager.cxx b/extensions/source/plugin/base/manager.cxx
index a261177aafaa..245f2d884f29 100644
--- a/extensions/source/plugin/base/manager.cxx
+++ b/extensions/source/plugin/base/manager.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"