summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/source/win32/simplemail/simplemapi.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/source/win32/simplemail/simplemapi.hxx b/shell/source/win32/simplemail/simplemapi.hxx
index 2de659ccb9e2..6495d4f418ba 100644
--- a/shell/source/win32/simplemail/simplemapi.hxx
+++ b/shell/source/win32/simplemail/simplemapi.hxx
@@ -27,8 +27,10 @@
#include <windows.h>
#include <mapi.h>
#ifndef __MINGW32__
+#if NTDDI_VERSION < NTDDI_WIN8
#include <mapix.h>
#endif
+#endif
#if defined _MSC_VER
#pragma warning(pop)
#endif