summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/win/winmgr.cxx
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-29 21:59:45 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-29 21:59:45 +0200
commit5f962e4465f77cc957be7f2b9a82c3a03f7a843e (patch)
treed4f9e75d8e71440574c44a5e2acc242f58dc3986 /extensions/source/plugin/win/winmgr.cxx
parent0e56df30f13a027cf49a4fa2f15817944b04aafc (diff)
Fix Windows build of extensions
Diffstat (limited to 'extensions/source/plugin/win/winmgr.cxx')
-rw-r--r--extensions/source/plugin/win/winmgr.cxx4
1 files changed, 4 insertions, 0 deletions
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"