aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-04-08 05:20:03 -0400
committerMike Frysinger <vapier@gentoo.org>2009-04-08 05:20:03 -0400
commit7bf91462c1e41abffc1f6b93c1fc1fe19c247c52 (patch)
tree856f93c57622ac07ff402c746d2f89084d06a4c7 /headers.h
parentlibsandbox: test for ERANGE like ENAMETOOLONG (diff)
downloadsandbox-7bf91462c1e41abffc1f6b93c1fc1fe19c247c52.tar.gz
sandbox-7bf91462c1e41abffc1f6b93c1fc1fe19c247c52.tar.bz2
sandbox-7bf91462c1e41abffc1f6b93c1fc1fe19c247c52.zip
libsandbox: add support for tracing Blackfin/PARISC systems
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'headers.h')
-rw-r--r--headers.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/headers.h b/headers.h
index f5d158d..7b9efb9 100644
--- a/headers.h
+++ b/headers.h
@@ -118,6 +118,19 @@
# include <sys/wait.h>
#endif
+#ifdef __ia64__ /* what a pos */
+# define ia64_fpreg FU_ia64_fpreg
+# define pt_all_user_regs FU_pt_all_user_regs
+#endif
+#ifdef HAVE_ASM_PTRACE_H
+# include <asm/ptrace.h>
+#endif
+#ifdef HAVE_LINUX_PTRACE_H
+# include <linux/ptrace.h>
+#endif
+#undef FU_ia64_fpreg
+#undef FU_pt_all_user_regs
+
#include "localdecls.h"
#endif