]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson: fix build error 50556/head
authorAravind Ramesh <Aravind.Ramesh@wdc.com>
Thu, 16 Mar 2023 07:02:39 +0000 (12:32 +0530)
committerAravind Ramesh <Aravind.Ramesh@wdc.com>
Thu, 16 Mar 2023 08:53:47 +0000 (14:23 +0530)
With -DWITH_SEASTAR=ON, build is failing.

src/crimson/osd/osd_operations/snaptrim_event.cc:174:29: error: ‘sleep’ is not a member of ‘seastar’

Signed-off-by: Aravind Ramesh <Aravind.Ramesh@wdc.com>
src/crimson/osd/osd_operations/snaptrim_event.cc

index 681f565ebcc05af33d39eae79fe32a1a10010158..631f0b6c73fd2980bca5a1965aa37b8eb01505cb 100644 (file)
@@ -4,6 +4,7 @@
 #include "crimson/osd/osd_operations/snaptrim_event.h"
 #include "crimson/osd/ops_executer.h"
 #include "crimson/osd/pg.h"
+#include <seastar/core/sleep.hh>
 
 namespace {
   seastar::logger& logger() {