From ecb1055969dea5a6943e105ddc0850bfe62cae6b Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Thu, 23 Jul 2020 02:15:25 +0000 Subject: Fix the build for PowerPC64 Submitted by: Curtis Hamilton --- .../patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp (limited to 'java/openjdk8/files') diff --git a/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp new file mode 100644 index 000000000000..4db3d23c4dec --- /dev/null +++ b/java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp @@ -0,0 +1,14 @@ +--- hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp ++++ hotspot/src/cpu/ppc/vm/sharedRuntime_ppc.cpp +@@ -42,7 +42,11 @@ + #include "opto/runtime.hpp" + #endif + ++#ifdef _ALLBSD_SOURCE ++#include ++#else + #include ++#endif + + #define __ masm-> + -- cgit v1.2.3