diff options
author | Eric Milkie <milkie@10gen.com> | 2012-04-02 14:55:19 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2012-04-02 14:59:48 -0400 |
commit | 45f30389a9128fe2216371cabbe8426b634d68e9 (patch) | |
tree | a3f0fc2b758e58c0ec61a27110f1e7b26f034f76 /src/mongo/s/shard.cpp | |
parent | 8b1c9bd361bd002980266c5269e5eab4ba62a7f5 (diff) | |
download | mongo-45f30389a9128fe2216371cabbe8426b634d68e9.tar.gz |
SERVER-5348 make dbclient.h the main C++ driver include file
This change fixes some #defines of common C functions so that their
definitions do not leak into consumer code.
I also had to change Labeler SIZE because it conflicts with Windows
SIZE.
pch.h is on its way out, but for now it's hanging around.
Diffstat (limited to 'src/mongo/s/shard.cpp')
-rw-r--r-- | src/mongo/s/shard.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/shard.cpp b/src/mongo/s/shard.cpp index e40bb8de41b..c5203a7f1c6 100644 --- a/src/mongo/s/shard.cpp +++ b/src/mongo/s/shard.cpp @@ -22,6 +22,7 @@ #include "request.h" #include "client.h" #include "../db/commands.h" +#include "mongo/client/dbclientcursor.h" #include <set> namespace mongo { |