From c14b19b53c2f4e18f1fae1b3225101160bae9490 Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 14 Feb 2021 05:15:44 +0000 Subject: Fix the build on aarch64 --- ...patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp (limited to 'java/openjdk13/files') diff --git a/java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp b/java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp new file mode 100644 index 000000000000..e89a35822d97 --- /dev/null +++ b/java/openjdk13/files/patch-src_hotspot_cpu_aarch64_vm__version__aarch64.cpp @@ -0,0 +1,15 @@ +--- src/hotspot/cpu/aarch64/vm_version_aarch64.cpp ++++ src/hotspot/cpu/aarch64/vm_version_aarch64.cpp +@@ -34,8 +34,12 @@ + + #include OS_HEADER_INLINE(os) + ++#if defined(__linux__) + #include + #include ++#elif defined(__FreeBSD__) ++#include ++#endif + + #ifndef HWCAP_ASIMD + #define HWCAP_ASIMD (1<<1) -- cgit v1.2.3