From: Max Kellermann Date: Sat, 26 Oct 2024 17:50:19 +0000 (+0200) Subject: auth/cephx: add missing includes X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ac3ba2d3d82dd4090fd0dd6953ee265d23e260dd;p=ceph.git auth/cephx: add missing includes Signed-off-by: Max Kellermann --- diff --git a/src/auth/cephx/CephxKeyServer.cc b/src/auth/cephx/CephxKeyServer.cc index a5ad1f2b797..77f33c4b1cb 100644 --- a/src/auth/cephx/CephxKeyServer.cc +++ b/src/auth/cephx/CephxKeyServer.cc @@ -14,6 +14,7 @@ #include "common/config.h" #include "CephxKeyServer.h" +#include "common/Clock.h" // for ceph_clock_now() #include "common/dout.h" #include diff --git a/src/auth/cephx/CephxKeyServer.h b/src/auth/cephx/CephxKeyServer.h index d147dd441ad..b87c30886e0 100644 --- a/src/auth/cephx/CephxKeyServer.h +++ b/src/auth/cephx/CephxKeyServer.h @@ -17,6 +17,7 @@ #include "auth/KeyRing.h" #include "CephxProtocol.h" +#include "common/ceph_json.h" #include "common/ceph_mutex.h" #include "include/common_fwd.h" diff --git a/src/auth/cephx/CephxServiceHandler.cc b/src/auth/cephx/CephxServiceHandler.cc index 977a43ad64f..4921728ae52 100644 --- a/src/auth/cephx/CephxServiceHandler.cc +++ b/src/auth/cephx/CephxServiceHandler.cc @@ -17,9 +17,9 @@ #include "CephxProtocol.h" #include "CephxKeyServer.h" #include -#include #include "include/random.h" +#include "common/Clock.h" // for ceph_clock_now() #include "common/config.h" #include "common/debug.h" diff --git a/src/auth/cephx/CephxSessionHandler.cc b/src/auth/cephx/CephxSessionHandler.cc index 1c0ad4e6353..bbe63a3db23 100644 --- a/src/auth/cephx/CephxSessionHandler.cc +++ b/src/auth/cephx/CephxSessionHandler.cc @@ -16,7 +16,6 @@ #include "CephxProtocol.h" #include -#include #include "common/config.h" #include "include/ceph_features.h"