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 <stdlib.h> is enough

fixes: https://tracker.ceph.com/issues/47614
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
This commit is contained in:
Willem Jan Withagen 2020-09-23 17:49:08 +02:00
parent 16a3103f22
commit 32dd5c707e

View File

@ -2,10 +2,11 @@
// vim: ts=8 sw=2 smarttab
#include "librbd/crypto/BlockCrypto.h"
#include <alloca.h>
#include "include/byteorder.h"
#include "include/ceph_assert.h"
#include <stdlib.h>
namespace librbd {
namespace crypto {