aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/bits/sigaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/sigaction.h')
-rw-r--r--sysdeps/generic/bits/sigaction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/bits/sigaction.h b/sysdeps/generic/bits/sigaction.h
index e89479bd1c..4499517b1a 100644
--- a/sysdeps/generic/bits/sigaction.h
+++ b/sysdeps/generic/bits/sigaction.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 include <bits/sigaction.h> directly; use <signal.h> instead."
+#endif
+
/* These definitions match those used by the 4.4 BSD kernel.
If the operating system has a `sigaction' system call that correctly
implements the POSIX.1 behavior, there should be a system-dependent