summaryrefslogtreecommitdiff
path: root/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/qa/rtl/doublelock/rtl_doublelocking.cxx')
-rw-r--r--sal/qa/rtl/doublelock/rtl_doublelocking.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
index c8173831f757..f882b104c9bc 100644
--- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
+++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
@@ -34,6 +34,9 @@
#include <cppunit/plugin/TestPlugIn.h>
#ifdef _WIN32
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
#else
#include <unistd.h>