mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 12:50:22 +02:00
ceph: add missing include for atomic<bool>
ceph do_compile failed with error: src/tools/rbd/action/Bench.cc:20:26: error: aggregate 'std::atomic<bool> terminating' has incomplete type and cannot be defined Add missing include to fix it. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
f7687c8b22
commit
6687be2233
|
@ -0,0 +1,25 @@
|
|||
From 502be73be3c3645094525aa552f5e53d8782a004 Mon Sep 17 00:00:00 2001
|
||||
From: Sakib Sajal <sakib.sajal@windriver.com>
|
||||
Date: Fri, 28 Aug 2020 19:36:19 -0400
|
||||
Subject: [PATCH] add missing include for atomic<bool>
|
||||
|
||||
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
|
||||
---
|
||||
src/tools/rbd/action/Bench.cc | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/tools/rbd/action/Bench.cc b/src/tools/rbd/action/Bench.cc
|
||||
index aa6edbc1..90c551c1 100644
|
||||
--- a/src/tools/rbd/action/Bench.cc
|
||||
+++ b/src/tools/rbd/action/Bench.cc
|
||||
@@ -9,6 +9,7 @@
|
||||
#include "common/ceph_mutex.h"
|
||||
#include "include/types.h"
|
||||
#include "global/signal_handler.h"
|
||||
+#include <atomic>
|
||||
#include <iostream>
|
||||
#include <boost/accumulators/accumulators.hpp>
|
||||
#include <boost/accumulators/statistics/stats.hpp>
|
||||
--
|
||||
2.27.0
|
||||
|
|
@ -20,6 +20,7 @@ SRC_URI = "http://download.ceph.com/tarballs/ceph-${PV}.tar.gz \
|
|||
file://0001-mgr-require-all-caps-for-pre-octopus-tell-commands.patch \
|
||||
file://0002-mon-enforce-caps-for-pre-octopus-client-tell-command.patch \
|
||||
file://0003-PendingReleaseNotes-note-about-security-fix.patch \
|
||||
file://0001-add-missing-include-for-atomic-bool.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "1f9af648b4c6d19975aab2583ab99710"
|
||||
|
|
Loading…
Reference in New Issue
Block a user