From: Nathan Cutler Date: Thu, 25 Feb 2021 20:50:20 +0000 (+0100) Subject: common/mempool: include standard thread library X-Git-Tag: v14.2.17~19^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F39651%2Fhead;p=ceph.git common/mempool: include standard thread library Attempt to address FTBFS: /home/jenkins-build/build/workspace/ceph-pull-requests/src/test/test_mempool.cc:399:11: error: request for member 'clear' in 'workers', which is of non-class type 'int' 399 | workers.clear(); | ^~~~~ seen in nautilus. Signed-off-by: Nathan Cutler --- diff --git a/src/test/test_mempool.cc b/src/test/test_mempool.cc index b32b7060944..3b575c952ba 100644 --- a/src/test/test_mempool.cc +++ b/src/test/test_mempool.cc @@ -23,6 +23,8 @@ #include "include/btree_map.h" #include "include/mempool.h" +#include + void check_usage(mempool::pool_index_t ix) { mempool::pool_t *pool = &mempool::get_pool(ix);