summaryrefslogtreecommitdiff
path: root/vcl/opengl/win/WinDeviceInfo.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-09-17 23:30:37 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2017-09-18 01:13:30 +0200
commitafeff9102c2935139de4efd40fd2286dce396706 (patch)
tree6eddd462cb8d14f3a40f63d1fa4c4f7ed8d4bd2a /vcl/opengl/win/WinDeviceInfo.cxx
parent164f6ba4e2501ef87639aa4d07699bbf58bdaac0 (diff)
Use even more WIN32_LEAN_AND_MEAN
Change-Id: I538fe5b41156366e0e87b3a93e58a3947afd18f5 Reviewed-on: https://gerrit.libreoffice.org/42398 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'vcl/opengl/win/WinDeviceInfo.cxx')
-rw-r--r--vcl/opengl/win/WinDeviceInfo.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/opengl/win/WinDeviceInfo.cxx b/vcl/opengl/win/WinDeviceInfo.cxx
index cb9f1d2943e6..2ec963491327 100644
--- a/vcl/opengl/win/WinDeviceInfo.cxx
+++ b/vcl/opengl/win/WinDeviceInfo.cxx
@@ -12,7 +12,11 @@
#include "opengl/win/blocklist_parser.hxx"
#include <config_folders.h>
+#if !defined WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN
+#endif
#include <windows.h>
+#include <objbase.h>
#include <setupapi.h>
#include <algorithm>
#include <cstdint>