comparison agent/src/os/linux/libproc.h @ 17991:a07a3a29df67

8046408: Build failure from multiple ptrace.h Summary: prefer <sys/ptrace.h> over <linux/ptrace.h> Reviewed-by: sla, mikael Contributed-by: kim.barrett@oracle.com
author jwilhelm
date Fri, 13 Jun 2014 17:07:39 -0400
parents 7f77d17d0f13
children 52b4284cb496
comparison
equal deleted inserted replaced
17990:00c8a1255912 17991:a07a3a29df67
32 32
33 #if defined(arm) || defined(ppc) 33 #if defined(arm) || defined(ppc)
34 #include "libproc_md.h" 34 #include "libproc_md.h"
35 #endif 35 #endif
36 36
37 #include <linux/ptrace.h> 37 #include <sys/ptrace.h>
38 38
39 /************************************************************************************ 39 /************************************************************************************
40 40
41 0. This is very minimal subset of Solaris libproc just enough for current application. 41 0. This is very minimal subset of Solaris libproc just enough for current application.
42 Please note that the bulk of the functionality is from proc_service interface. This 42 Please note that the bulk of the functionality is from proc_service interface. This