summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorgrehan <grehan@FreeBSD.org>2003-01-18 11:25:21 +0000
committergrehan <grehan@FreeBSD.org>2003-01-18 11:25:21 +0000
commit9ae60db947541cc7a1d1b3ae04b95dfa36cc7dbe (patch)
tree9f700f0d6be3c7fb18acd5ffa85b3a45a7894752 /sys/powerpc
parentf683674356c72f0cda84472aee4a1d6fa7a5b6df (diff)
downloadFreeBSD-src-9ae60db947541cc7a1d1b3ae04b95dfa36cc7dbe.zip
FreeBSD-src-9ae60db947541cc7a1d1b3ae04b95dfa36cc7dbe.tar.gz
Allow the MD frame definition to be seen in. Required for truss/ptrace.
Approved by: Benno
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/include/signal.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/powerpc/include/signal.h b/sys/powerpc/include/signal.h
index c290bb9..db7f9c2 100644
--- a/sys/powerpc/include/signal.h
+++ b/sys/powerpc/include/signal.h
@@ -43,11 +43,9 @@
typedef int sig_atomic_t;
-#ifdef _KERNEL
+#if __BSD_VISIBLE
#include <machine/frame.h>
-#endif /* _KERNEL */
-#if __BSD_VISIBLE
struct sigcontext {
int sc_onstack; /* saved onstack flag */
int __sc_mask13; /* saved signal mask (old style) */
OpenPOWER on IntegriCloud