summaryrefslogtreecommitdiff
path: root/src/mongo/util/net/sock.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2014-06-27 14:31:29 -0400
committerAndy Schwerin <schwerin@mongodb.com>2014-06-27 15:15:27 -0400
commitcf9d8c3ff9733686326fa2a96cd654cd8be3818a (patch)
tree0d3b83613b810d71560605ab6f84e7b8497cdc07 /src/mongo/util/net/sock.cpp
parent207c8850f59a5f3ad113211167ad6844761ea264 (diff)
downloadmongo-cf9d8c3ff9733686326fa2a96cd654cd8be3818a.tar.gz
SERVER-14374 Include server_options.h as needed and apply the std:: namespace when missing.
Previously, the affected files compiled because of indirect includes from hostandport.h
Diffstat (limited to 'src/mongo/util/net/sock.cpp')
-rw-r--r--src/mongo/util/net/sock.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/util/net/sock.cpp b/src/mongo/util/net/sock.cpp
index 5b1b2cf2a4f..70923c7ab65 100644
--- a/src/mongo/util/net/sock.cpp
+++ b/src/mongo/util/net/sock.cpp
@@ -45,6 +45,7 @@
# endif
#endif
+#include "mongo/db/server_options.h"
#include "mongo/util/background.h"
#include "mongo/util/concurrency/value.h"
#include "mongo/util/fail_point_service.h"