about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/mips/bits/sigcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/mips/bits/sigcontext.h')
-rw-r--r--sysdeps/mach/hurd/mips/bits/sigcontext.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/mips/bits/sigcontext.h b/sysdeps/mach/hurd/mips/bits/sigcontext.h
index 64a57ab086..910618e32a 100644
--- a/sysdeps/mach/hurd/mips/bits/sigcontext.h
+++ b/sysdeps/mach/hurd/mips/bits/sigcontext.h
@@ -16,6 +16,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
+
 /* Signal handlers are actually called:
    void handler (int sig, int code, struct sigcontext *scp);  */