8243997: Linux build failed after JDK-8242244

Reviewed-by: ihse
This commit is contained in:
John Paul Adrian Glaubitz 2020-04-28 18:23:12 +02:00
parent 04ae3fd603
commit 1b16192363

View File

@ -110,6 +110,7 @@
# include <stdint.h>
# include <inttypes.h>
# include <sys/ioctl.h>
# include <linux/elf-em.h>
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
@ -1845,6 +1846,9 @@ void * os::dll_load(const char *filename, char *ebuf, int ebuflen) {
char* name; // String representation
} arch_t;
#ifndef EM_AARCH64
#define EM_AARCH64 183 /* ARM AARCH64 */
#endif
#ifndef EM_RISCV
#define EM_RISCV 243 /* RISC-V */
#endif