diff options
author | U-ELIOT-019992DFC\Administrator <Administrator@eliot-019992dfc.(none)> | 2009-02-10 10:48:41 -0500 |
---|---|---|
committer | U-ELIOT-019992DFC\Administrator <Administrator@eliot-019992dfc.(none)> | 2009-02-10 10:48:41 -0500 |
commit | 853736071cc020d6ac81fec2059f4373c75ae6a4 (patch) | |
tree | 7ded604887327f9e601728a438f0655d5e7b7702 | |
parent | 465dac0b1425c66db80641b2b9aed20a552520f5 (diff) | |
download | mongo-853736071cc020d6ac81fec2059f4373c75ae6a4.tar.gz |
include for windows
-rw-r--r-- | client/gridfs.cpp | 5 | ||||
-rw-r--r-- | tools/Tool.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/client/gridfs.cpp b/client/gridfs.cpp index bd17894f7b2..92e8f79116d 100644 --- a/client/gridfs.cpp +++ b/client/gridfs.cpp @@ -1,9 +1,14 @@ // gridfs.cpp +#include "../stdafx.h" #include <fcntl.h> #include "gridfs.h" +#if defined(_WIN32) +#include <io.h> +#endif + #ifndef MIN #define MIN(a,b) ( (a) < (b) ? (a) : (b) ) #endif diff --git a/tools/Tool.h b/tools/Tool.h index 772301fbc29..8f7b2fa76c6 100644 --- a/tools/Tool.h +++ b/tools/Tool.h @@ -6,6 +6,10 @@ #include <boost/program_options.hpp> +#if defined(_WIN32) +#include <io.h> +#endif + #include "client/dbclient.h" using std::string; |