From: Kefu Chai Date: Mon, 30 Jun 2025 08:48:09 +0000 (+0800) Subject: osdc: remove unused rados.h include from error_code.h X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfb66395d6b59b13729a419eb99d2d1c046d4eb8;p=ceph.git osdc: remove unused rados.h include from error_code.h Remove unnecessary `#include "include/rados.h"` from error_code.h as it's not used by the header and error_code.h doesn't need to expose any RADOS declarations. This improves compilation time and reduces unnecessary dependencies. Signed-off-by: Kefu Chai --- diff --git a/src/osdc/error_code.h b/src/osdc/error_code.h index 88d6f080a8a4..8882749abf58 100644 --- a/src/osdc/error_code.h +++ b/src/osdc/error_code.h @@ -17,8 +17,6 @@ #include -#include "include/rados.h" - const boost::system::error_category& osdc_category() noexcept; enum class osdc_errc {