summaryrefslogtreecommitdiff
path: root/bits/sigaction.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/sigaction.h')
-rw-r--r--bits/sigaction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bits/sigaction.h b/bits/sigaction.h
index e89479bd1c..4499517b1a 100644
--- a/bits/sigaction.h
+++ b/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