summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files/mongodb-5.0.30-gcc-11.patch
blob: a99b79b2d929ce27397d4454da0126aadf8d7eb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
https://bugs.gentoo.org/768339

--- a/src/mongo/db/exec/plan_stats.h
+++ b/src/mongo/db/exec/plan_stats.h
@@ -33,6 +33,7 @@
 #include <cstdlib>
 #include <string>
 #include <vector>
+#include <optional>
 
 #include "mongo/db/index/multikey_paths.h"
 #include "mongo/db/jsobj.h"