mirror of
https://github.com/ceph/ceph
synced 2025-01-03 01:22:53 +00:00
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:
parent
16a3103f22
commit
32dd5c707e
@ -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 {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user