1 Star 0 Fork 78

Nic/ceph

forked from openEuler-RISC-V/ceph 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0012-add-missing-includes-when-compiling-with-boost-1.75.patch 776 Bytes
一键复制 编辑 原始数据 按行查看 历史
zhangwenlong01 提交于 2023-01-16 10:40 . add loongarch support for ceph
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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/dominic_z/ceph.git
git@gitee.com:dominic_z/ceph.git
dominic_z
ceph
ceph
master

搜索帮助