summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mdb/src/lmdb/mdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dbx_mdb/src/lmdb/mdb.c')
-rw-r--r--plugins/Dbx_mdb/src/lmdb/mdb.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Dbx_mdb/src/lmdb/mdb.c b/plugins/Dbx_mdb/src/lmdb/mdb.c
index a99e079c7f..4ea8982871 100644
--- a/plugins/Dbx_mdb/src/lmdb/mdb.c
+++ b/plugins/Dbx_mdb/src/lmdb/mdb.c
@@ -136,7 +136,11 @@ extern int cacheflush(char *addr, int nbytes, int cache);
#include <errno.h>
#include <limits.h>
#include <stddef.h>
-#include <inttypes.h>
+#if _MSC_VER < 1800
+# include <msapi/inttypes.h>
+#else
+# include <inttypes.h>
+#endif
#include <stdio.h>
#include <stdlib.h>
#include <string.h>