diff options
author | Eric Milkie <milkie@10gen.com> | 2012-07-12 09:59:07 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-07-12 09:59:07 -0400 |
commit | 75fe13d0b13b1d297b77b623a9ce9d30520d1d98 (patch) | |
tree | 63c0e737e171e58536253bf4f3cb17366acf49b3 /db | |
parent | dc6d43de353f6a6f2d4085b35cd5d620bac16552 (diff) | |
download | mongo-75fe13d0b13b1d297b77b623a9ce9d30520d1d98.tar.gz |
fix Windows compile and link, for real
Diffstat (limited to 'db')
-rw-r--r-- | db/extsort.cpp | 8 |
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 { |