8144885: agent/src/os/linux/libproc.h needs to support Linux/SPARC builds
authormikael
Fri, 11 Dec 2015 13:36:15 -0800
changeset 35073 3b3c2fb85d58
parent 35072 10df35fbf0b7
child 35074 4ac430acedd7
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
hotspot/agent/src/os/linux/libproc.h
--- 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)