opnsense-ports/databases/mysql80-server/files/patch-storage_innobase_include_ut0crc32.h
Franco Fichtner 70576154e6 databases/mysql80-server: sync with upstream
Taken from: FreeBSD
2024-07-31 11:01:38 +02:00

12 lines
329 B
C

--- storage/innobase/include/ut0crc32.h.orig 2024-07-12 19:15:25 UTC
+++ storage/innobase/include/ut0crc32.h
@@ -133,7 +133,9 @@ CRC32_DEFAULT
#endif /* CRC32_ARM64 */
#ifdef CRC32_ARM64_DEFAULT
+#ifndef __FreeBSD__
#include <asm/hwcap.h>
+#endif /* __FreeBSD__ */
#include <sys/auxv.h>
#endif /* CRC32_ARM64_DEFAULT */