summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-26 00:41:28 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2011-03-26 00:41:28 +0100
commit6148536e35e03b758609a53af56e69902123d821 (patch)
tree2de0d9ee530aaac69949d76592c0c64621d19a27 /l10ntools/source
parentcbe2ad89be223a7c034fcb5a08eaceee0cdaed8b (diff)
One more windows breakage gone
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/directory.cxx5
-rw-r--r--l10ntools/source/helpmerge.cxx2
2 files changed, 7 insertions, 0 deletions
diff --git a/l10ntools/source/directory.cxx b/l10ntools/source/directory.cxx
index a4866b5c2db0..fbb9bcd53c6f 100644
--- a/l10ntools/source/directory.cxx
+++ b/l10ntools/source/directory.cxx
@@ -29,6 +29,11 @@
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_l10ntools.hxx"
+
+#ifdef WNT
+#include <windows.h>
+#endif
+
#include <l10ntools/directory.hxx>
#include "tools/string.hxx"
#include <iostream>
diff --git a/l10ntools/source/helpmerge.cxx b/l10ntools/source/helpmerge.cxx
index da3deb586229..a0032bc2558b 100644
--- a/l10ntools/source/helpmerge.cxx
+++ b/l10ntools/source/helpmerge.cxx
@@ -43,6 +43,8 @@
#include <vector>
#include "rtl/strbuf.hxx"
#ifdef WNT
+#include <windows.h>
+#undef CopyFile
#include <direct.h>
#endif