summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2020-11-23 10:20:38 +0100
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2020-11-23 10:23:41 +0100
commit166cbc3c3de7ebec14280f3fbb88db06b257f38e (patch)
treee44c4c688d3ed1456914bac169c1c21200081988
parentfdea9034ed8ffa70bdb37a4380aec182fe59913a (diff)
Fix windows build
Change-Id: I091c4bb3e4f673f1863c897249a783433cb3f10b
-rw-r--r--l10ntools/source/uimerge.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/l10ntools/source/uimerge.cxx b/l10ntools/source/uimerge.cxx
index 91a0283f0b4e..3e93a8ca32ae 100644
--- a/l10ntools/source/uimerge.cxx
+++ b/l10ntools/source/uimerge.cxx
@@ -7,6 +7,13 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
+#ifdef _WIN32
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
+#include <windows.h>
+#endif
+
#include <sal/main.h>
#include <osl/file.hxx>