]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rgw: fix test_rgw_reshard_wait with -DHAVE_BOOST_CONTEXT=OFF 39947/head
authorYaakov Selkowitz <yselkowi@redhat.com>
Thu, 23 Jan 2020 18:26:16 +0000 (13:26 -0500)
committerMauricio Faria de Oliveira <mfo@canonical.com>
Mon, 8 Mar 2021 12:36:37 +0000 (09:36 -0300)
This include, like the code which calls it, should have been
conditionalized in commit 069dd7af3923cded76cbbd96f4b1020397ea6f11.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
(cherry picked from commit a96849df84f3141bb012b3d7f37fe1e2ffb95f99)
Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
src/test/rgw/test_rgw_reshard_wait.cc

index 5895d4ba155d31fac00bd54e826821a1b39feb14..a599a4ce3971cc14907a134827b2d0fc66941118 100644 (file)
@@ -13,7 +13,9 @@
  */
 
 #include "rgw/rgw_reshard.h"
+#ifdef HAVE_BOOST_CONTEXT
 #include <spawn/spawn.hpp>
+#endif
 
 #include <gtest/gtest.h>