Fixes: https://tracker.ceph.com/issues/63682
Signed-off-by: Casey Bodley <cbodley@redhat.com>
#include <errno.h>
+// these strand headers declare static variables that need to be shared between
+// librbd.so and librados.so. referencing them here causes librbd.so to link
+// their symbols as 'global unique'. see https://tracker.ceph.com/issues/63682
+#include <boost/asio/strand.hpp>
+#include <boost/asio/io_context_strand.hpp>
+
#include "common/deleter.h"
#include "common/dout.h"
#include "common/errno.h"