summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
Diffstat (limited to 'l10ntools')
-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