summaryrefslogtreecommitdiff
path: root/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'dtrans/source/win32/dtobj/XNotifyingDataObject.hxx')
-rw-r--r--dtrans/source/win32/dtobj/XNotifyingDataObject.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx b/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
index 4e916ce28682..a6a8bd075e7f 100644
--- a/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
+++ b/dtrans/source/win32/dtobj/XNotifyingDataObject.hxx
@@ -26,8 +26,11 @@
#if defined _MSC_VER
#pragma warning(push,1)
#endif
-#include <objidl.h>
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
+#include <objidl.h>
#if defined _MSC_VER
#pragma warning(pop)
#endif