Fix the build for PowerPC64

Submitted by:	Curtis Hamilton
This commit is contained in:
Greg Lewis
2020-07-23 02:15:25 +00:00
parent bb3c215827
commit ecb1055969
@@ -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->