summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-03-07 16:28:10 -0500
committerEliot Horowitz <eliot@10gen.com>2011-03-07 16:28:24 -0500
commitc6d2d29d42d5f0eb6bcd8611a6774adb9b89b31b (patch)
tree9c42ed04e1d953b953e567f0462a22fdbd2a2d6a /tools
parent5d70510d94442c91b758d0d64a654e1485f7979f (diff)
downloadmongo-c6d2d29d42d5f0eb6bcd8611a6774adb9b89b31b.tar.gz
don't include mmap in client cpp and fake for sniffer
Diffstat (limited to 'tools')
-rw-r--r--tools/sniffer.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/sniffer.cpp b/tools/sniffer.cpp
index 0422f87399e..313a989493a 100644
--- a/tools/sniffer.cpp
+++ b/tools/sniffer.cpp
@@ -69,6 +69,11 @@ using mongo::DBClientConnection;
using mongo::QueryResult;
using mongo::MemoryMappedFile;
+mongo::CmdLine mongo::cmdLine;
+namespace mongo {
+ void setupSignals( bool inFork ){}
+}
+
#define SNAP_LEN 65535
int captureHeaderSize;