summaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h')
-rw-r--r--sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h b/sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h
index e1cdd416a1..29d2d87b26 100644
--- a/sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h
+++ b/sysdeps/unix/bsd/sun/sparc/bits/sigcontext.h
@@ -17,6 +17,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#ifndef _SIGNAL_H
+# error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
+#endif
+
struct sigcontext
{
int sc_onstack;