]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/rgw: fix test_rgw_reshard_wait with -DHAVE_BOOST_CONTEXT=OFF
authorYaakov Selkowitz <yselkowi@redhat.com>
Thu, 23 Jan 2020 18:26:16 +0000 (13:26 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Thu, 23 Jan 2020 18:38:36 +0000 (13:38 -0500)
This include, like the code which calls it, should have been
conditionalized in commit 069dd7af3923cded76cbbd96f4b1020397ea6f11.

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
src/test/rgw/test_rgw_reshard_wait.cc

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