From: Willem Jan Withagen Date: Wed, 23 Sep 2020 15:49:08 +0000 (+0200) Subject: librbd: Use stdlib.h instead of alloca.h X-Git-Tag: v16.1.0~990^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F37374%2Fhead;p=ceph.git librbd: Use stdlib.h instead of alloca.h src/librbd/crypto/BlockCrypto.cc:5:10: fatal error: 'alloca.h' file not found ^~~~~~~~~~ 1 error generated. Including is enough fixes: https://tracker.ceph.com/issues/47614 Signed-off-by: Willem Jan Withagen --- diff --git a/src/librbd/crypto/BlockCrypto.cc b/src/librbd/crypto/BlockCrypto.cc index 00b244c47a5d..5bb4cfee498a 100644 --- a/src/librbd/crypto/BlockCrypto.cc +++ b/src/librbd/crypto/BlockCrypto.cc @@ -2,10 +2,11 @@ // vim: ts=8 sw=2 smarttab #include "librbd/crypto/BlockCrypto.h" -#include #include "include/byteorder.h" #include "include/ceph_assert.h" +#include + namespace librbd { namespace crypto {