aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql84-server/files/patch-storage_innobase_include_ut0crc32.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql84-server/files/patch-storage_innobase_include_ut0crc32.h')
-rw-r--r--databases/mysql84-server/files/patch-storage_innobase_include_ut0crc32.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/databases/mysql84-server/files/patch-storage_innobase_include_ut0crc32.h b/databases/mysql84-server/files/patch-storage_innobase_include_ut0crc32.h
new file mode 100644
index 000000000000..b1b372a2d8c7
--- /dev/null
+++ b/databases/mysql84-server/files/patch-storage_innobase_include_ut0crc32.h
@@ -0,0 +1,12 @@
+--- storage/innobase/include/ut0crc32.h.orig 2024-04-10 06:26:28 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 */
+