summaryrefslogtreecommitdiff
path: root/java/openjdk8/files
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk8/files')
-rw-r--r--java/openjdk8/files/patch-hotspot_src_cpu_ppc_vm_sharedRuntime__ppc.cpp14
1 files changed, 14 insertions, 0 deletions
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 <stdlib.h>
++#else
+ #include <alloca.h>
++#endif
+
+ #define __ masm->
+