summaryrefslogtreecommitdiff
blob: 68bdc4dc1a4e824e9675fb637b82eb73ffe99e3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Add missing include for boost::next()

https://bugs.gentoo.org/671422
--- a/src/mongo/client/command_writer.cpp
+++ b/src/mongo/client/command_writer.cpp
@@ -22,4 +22,6 @@
 #include "mongo/db/namespace_string.h"
 
+#include <boost/next_prior.hpp>
+
 namespace mongo {
 
--- a/src/mongo/client/wire_protocol_writer.cpp
+++ b/src/mongo/client/wire_protocol_writer.cpp
@@ -22,4 +22,6 @@
 #include "mongo/db/namespace_string.h"
 
+#include <boost/next_prior.hpp>
+
 namespace mongo {