changeset 35073:3b3c2fb85d58

8144885: agent/src/os/linux/libproc.h needs to support Linux/SPARC builds Summary: Added include of asm/ptrace.h to libproc.h Reviewed-by: dsamersoff, asmundak, gthornbr
author mikael
date Fri, 11 Dec 2015 13:36:15 -0800
parents 10df35fbf0b7
children 4ac430acedd7
files hotspot/agent/src/os/linux/libproc.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/agent/src/os/linux/libproc.h	Fri Dec 11 18:54:22 2015 +0000
+++ b/hotspot/agent/src/os/linux/libproc.h	Fri Dec 11 13:36:15 2015 -0800
@@ -69,6 +69,7 @@
 
 
 #if defined(sparc) || defined(sparcv9) || defined(ppc64)
+#include <asm/ptrace.h>
 #define user_regs_struct  pt_regs
 #endif
 #if defined(aarch64)