diff --git a/libraries/liblmdb/mdb_dump.c b/libraries/liblmdb/mdb_dump.c index 7ea72e8..198230c 100644 --- a/libraries/liblmdb/mdb_dump.c +++ b/libraries/liblmdb/mdb_dump.c @@ -16,7 +16,11 @@ #include #include #include +#ifdef _MSC_VER +#include +#else #include +#endif #include #include "lmdb.h" diff --git a/libraries/liblmdb/mdb_load.c b/libraries/liblmdb/mdb_load.c index d2a3cec..f050286 100644 --- a/libraries/liblmdb/mdb_load.c +++ b/libraries/liblmdb/mdb_load.c @@ -16,7 +16,11 @@ #include #include #include +#ifdef _MSC_VER +#include +#else #include +#endif #include "lmdb.h" #define PRINT 1 diff --git a/libraries/liblmdb/mdb_stat.c b/libraries/liblmdb/mdb_stat.c index 3a81175..f1f4a75 100644 --- a/libraries/liblmdb/mdb_stat.c +++ b/libraries/liblmdb/mdb_stat.c @@ -14,7 +14,13 @@ #include #include #include +#ifdef _MSC_VER +#include +#include +typedef SSIZE_T ssize_t; +#else #include +#endif #include "lmdb.h" #ifdef _WIN32