summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2012-07-12 09:59:07 -0400
committerEric Milkie <milkie@10gen.com>2012-07-12 09:59:07 -0400
commit75fe13d0b13b1d297b77b623a9ce9d30520d1d98 (patch)
tree63c0e737e171e58536253bf4f3cb17366acf49b3
parentdc6d43de353f6a6f2d4085b35cd5d620bac16552 (diff)
downloadmongo-75fe13d0b13b1d297b77b623a9ce9d30520d1d98.tar.gz
fix Windows compile and link, for real
-rw-r--r--db/extsort.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/db/extsort.cpp b/db/extsort.cpp
index 2d4fefb6303..aa52ccb88b1 100644
--- a/db/extsort.cpp
+++ b/db/extsort.cpp
@@ -18,6 +18,10 @@
#include "pch.h"
+#if defined(_WIN32)
+# include <io.h>
+#endif
+
#include "extsort.h"
#include "namespace-inl.h"
#include "../util/file.h"
@@ -25,10 +29,6 @@
#include <sys/stat.h>
#include <fcntl.h>
-#if defined(_WIN32)
-# include <io.h>
-#endif
-
namespace mongo {