summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-07-11 19:37:27 -0400
committerEliot Horowitz <eliot@10gen.com>2012-07-11 19:37:47 -0400
commitdc6d43de353f6a6f2d4085b35cd5d620bac16552 (patch)
tree97fce1bdeea7caf8a0eb24e5b549b47d2c8b79e9
parent8e584c2fe8d29040692d0e44bda695df68e99838 (diff)
downloadmongo-dc6d43de353f6a6f2d4085b35cd5d620bac16552.tar.gz
windows include
-rw-r--r--db/extsort.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/extsort.cpp b/db/extsort.cpp
index 1e3230ef70c..2d4fefb6303 100644
--- a/db/extsort.cpp
+++ b/db/extsort.cpp
@@ -25,6 +25,11 @@
#include <sys/stat.h>
#include <fcntl.h>
+#if defined(_WIN32)
+# include <io.h>
+#endif
+
+
namespace mongo {
IndexInterface *BSONObjExternalSorter::extSortIdxInterface;