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