about summary refs log tree commit diff
path: root/bits/sigcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/sigcontext.h')
-rw-r--r--bits/sigcontext.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/bits/sigcontext.h b/bits/sigcontext.h
index 85b2a96d9f..ddc4966d6b 100644
--- a/bits/sigcontext.h
+++ b/bits/sigcontext.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_SIGCONTEXT_H
+#define _BITS_SIGCONTEXT_H 1
+
+#if !defined _SIGNAL_H && !defined _SYS_UCONTEXT_H
 # error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
 #endif
 
@@ -30,3 +33,5 @@ struct sigcontext
   };
 
 /* Signal subcodes should be defined here.  */
+
+#endif /* bits/sigcontext.h */