--- util/crc32c_arm64.cc.orig 2024-02-28 00:24:11 UTC +++ util/crc32c_arm64.cc @@ -10,7 +10,7 @@ #if defined(__linux__) #include #endif -#ifdef ROCKSDB_AUXV_GETAUXVAL_PRESENT +#if defined(ROCKSDB_AUXV_GETAUXVAL_PRESENT) || defined(__FreeBSD__) #include #endif #ifndef HWCAP_CRC32