aboutsummaryrefslogtreecommitdiff
path: root/bits/sigstack.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/sigstack.h')
-rw-r--r--bits/sigstack.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bits/sigstack.h b/bits/sigstack.h
index b4b911e..62020b3 100644
--- a/bits/sigstack.h
+++ b/bits/sigstack.h
@@ -16,7 +16,10 @@
License along with the GNU C Library; if not, see
<http://www.gnu.org/licenses/>. */
-#ifndef _SIGNAL_H
+#ifndef _BITS_SIGSTACK_H
+#define _BITS_SIGSTACK_H 1
+
+#if !defined _SIGNAL_H && !defined _SYS_UCONTEXT_H
# error "Never include this file directly. Use <signal.h> instead"
#endif
@@ -52,3 +55,5 @@ enum
/* System default stack size. */
#define SIGSTKSZ (MINSIGSTKSZ + 32768)
+
+#endif /* bits/sigstack.h */