summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/lmdb/midl.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdb/src/lmdb/midl.h')
-rw-r--r--plugins/Dbx_mdb/src/lmdb/midl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/lmdb/midl.h b/plugins/Dbx_mdb/src/lmdb/midl.h
index b0d518ef03..91fa58f0fb 100644
--- a/plugins/Dbx_mdb/src/lmdb/midl.h
+++ b/plugins/Dbx_mdb/src/lmdb/midl.h
@@ -27,7 +27,11 @@
#define _MDB_MIDL_H_
#include <stddef.h>
-#include <inttypes.h>
+#if _MSC_VER < 1800
+# include <msapi/inttypes.h>
+#else
+# include <inttypes.h>
+#endif
#ifdef __cplusplus
extern "C" {