summaryrefslogtreecommitdiff
path: root/bits/sigcontext.h
diff options
context:
space:
mode:
Diffstat (limited to 'bits/sigcontext.h')
-rw-r--r--bits/sigcontext.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/bits/sigcontext.h b/bits/sigcontext.h
index 85b2a96d9f..5d4a7f5e73 100644
--- a/bits/sigcontext.h
+++ b/bits/sigcontext.h
@@ -1,5 +1,5 @@
/* Structure describing state saved while handling a signal. Stub version.
- Copyright (C) 1991-2016 Free Software Foundation, Inc.
+ Copyright (C) 1991-2018 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -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 */