summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2016-05-18 11:48:03 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2016-05-18 11:48:03 -0400
commit18d40b1e6eeaabb4cca0997962a871b2a5caba9f (patch)
treed58a6339f8e306f2f7b7e390c206848a082799d1 /src
parentdb71d67d9163f70c506db2cfa0b66df54261c8f1 (diff)
downloadmongo-18d40b1e6eeaabb4cca0997962a871b2a5caba9f.tar.gz
SERVER-24104 Fix compile on OS X.
Diffstat (limited to 'src')
-rw-r--r--src/mongo/db/auth/role_name.cpp1
-rw-r--r--src/mongo/db/auth/user_name.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/auth/role_name.cpp b/src/mongo/db/auth/role_name.cpp
index d5f6aecfa48..6c22d03a7c5 100644
--- a/src/mongo/db/auth/role_name.cpp
+++ b/src/mongo/db/auth/role_name.cpp
@@ -29,6 +29,7 @@
#include "mongo/db/auth/role_name.h"
#include <algorithm>
+#include <iostream>
#include <string>
#include "mongo/base/string_data.h"
diff --git a/src/mongo/db/auth/user_name.cpp b/src/mongo/db/auth/user_name.cpp
index c2e768edf95..7b56a87dbd7 100644
--- a/src/mongo/db/auth/user_name.cpp
+++ b/src/mongo/db/auth/user_name.cpp
@@ -28,6 +28,7 @@
#include "mongo/db/auth/user_name.h"
#include <algorithm>
+#include <iostream>
#include <string>
#include "mongo/base/string_data.h"