summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron <aaron@10gen.com>2009-04-01 14:10:21 -0400
committerAaron <aaron@10gen.com>2009-04-01 14:10:21 -0400
commit62f1aab6accba0e098f967a413d938b94a9911ea (patch)
tree92eb40d284909bdd3c6df703cc8381d19cf079d8
parent99a96884938cd1eee623f3f7b9da8cacc73b4439 (diff)
downloadmongo-62f1aab6accba0e098f967a413d938b94a9911ea.tar.gz
include sys/file.h for linux
-rw-r--r--db/instance.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/db/instance.cpp b/db/instance.cpp
index 598403fe4f7..56e842c3cc3 100644
--- a/db/instance.cpp
+++ b/db/instance.cpp
@@ -30,6 +30,9 @@
#include "reccache.h"
#include "replset.h"
#include "../s/d_logic.h"
+#if !defined(_WIN32)
+#include <sys/file.h>
+#endif
namespace mongo {