30 lines
776 B
Diff
30 lines
776 B
Diff
From 46d99c8020dae9372328399618246cd9bc7b4e2b Mon Sep 17 00:00:00 2001
|
|
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
|
Date: Thu, 12 Jan 2023 09:03:33 +0800
|
|
Subject: [PATCH] rgw_string.h: has missing includes when compiling with
|
|
boost 1.78
|
|
|
|
ceph compilation failure: invalid use of incomplete type in rgw
|
|
https://tracker.ceph.com/issues/50952
|
|
https://tracker.ceph.com/issues/50924
|
|
---
|
|
src/rgw/rgw_string.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
diff --git a/src/rgw/rgw_string.h b/src/rgw/rgw_string.h
|
|
index 257daa9c1..90e64f98a 100644
|
|
--- a/src/rgw/rgw_string.h
|
|
+++ b/src/rgw/rgw_string.h
|
|
@@ -8,6 +8,8 @@
|
|
#include <stdlib.h>
|
|
#include <limits.h>
|
|
#include <string_view>
|
|
+#include <string>
|
|
+#include <stdexcept>
|
|
|
|
#include <boost/container/small_vector.hpp>
|
|
|
|
--
|
|
2.33.0
|
|
|