summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/base/nfuncs.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/base/nfuncs.cxx
parent0e56df30f13a027cf49a4fa2f15817944b04aafc (diff)
Fix Windows build of extensions
Diffstat (limited to 'extensions/source/plugin/base/nfuncs.cxx')
-rw-r--r--extensions/source/plugin/base/nfuncs.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/extensions/source/plugin/base/nfuncs.cxx b/extensions/source/plugin/base/nfuncs.cxx
index 24e9939cb2ad..571ead19bae1 100644
--- a/extensions/source/plugin/base/nfuncs.cxx
+++ b/extensions/source/plugin/base/nfuncs.cxx
@@ -35,6 +35,12 @@
#undef _LINUX_SOURCE_COMPAT
#endif
+#ifdef WNT
+#include <prewin.h>
+#include <postwin.h>
+#undef OPTIONAL
+#endif
+
#include <cstdarg>
#include <list>