HAVE_ARMV8_CRC is defined by "acconfig.h". so we need to include it for
the definition.
it's a regresssion introduced by
2a3382f. in that change,
crc32c_intel_baseline.h was removed from crc32.cc, and that header
includes accconfig.h indirectly. that's why we will have a dummy
ceph_crc32c_aarch64() which always returns 0. the dummy implementation
was intended to please the compiler. but we can probably just drop it in
future as a cleanup.
Signed-off-by: Kefu Chai <kchai@redhat.com>
#ifndef CEPH_COMMON_CRC32C_AARCH64_H
#define CEPH_COMMON_CRC32C_AARCH64_H
+#include "acconfig.h"
#include "arch/arm.h"
#ifdef __cplusplus