summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/win
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/plugin/win')
-rw-r--r--extensions/source/plugin/win/sysplug.cxx4
-rw-r--r--extensions/source/plugin/win/winmgr.cxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/extensions/source/plugin/win/sysplug.cxx b/extensions/source/plugin/win/sysplug.cxx
index 4059f94f3b69..ae1b34c69b47 100644
--- a/extensions/source/plugin/win/sysplug.cxx
+++ b/extensions/source/plugin/win/sysplug.cxx
@@ -29,6 +29,10 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
+#include <prewin.h>
+#include <postwin.h>
+#undef OPTIONAL
+
#include <plugin/impl.hxx>
#pragma warning (push,1)
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index 0661bd5b526c..2312af5be19b 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -29,6 +29,10 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_extensions.hxx"
+#include <prewin.h>
+#include <postwin.h>
+#undef OPTIONAL
+
#include "vcl/svapp.hxx"
#include "tools/fsys.hxx"
#include "tools/urlobj.hxx"