summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/BSON.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/BSON.h b/includes/BSON.h
index f322255..159ebcd 100644
--- a/includes/BSON.h
+++ b/includes/BSON.h
@@ -28,8 +28,14 @@
#include <stdarg.h>
#include "defines.h"
+#if defined(LIN64) || defined(USE_STDINT)
+#include <sys\types.h>
+#include <stdint.h>
+#else
typedef long long int int64_t;
typedef unsigned long long int uint64_t;
+#endif
+
#define BSON_OK 0
#define BSON_ERROR -1