about summary refs log tree commit diff
path: root/bits
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-05 02:17:52 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-05 22:50:29 +0100
commita1ede3a40249ea2efe54e182998bd8519e37a31e (patch)
treee1adf79f570913148b63bdefcbcbf8d7a9ab2791 /bits
parent6900d2ca74cd569d32167701a50cc7dc0d5ba4e2 (diff)
downloadglibc-a1ede3a40249ea2efe54e182998bd8519e37a31e.tar.gz
glibc-a1ede3a40249ea2efe54e182998bd8519e37a31e.tar.xz
glibc-a1ede3a40249ea2efe54e182998bd8519e37a31e.zip
hurd: Fix includability of <hurd/signal.h> in all standards
* bits/sigaction.h: Add include guard.
* sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
* sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
* hurd/hurd/signal.h: Include <bits/sigaction.h>.
Diffstat (limited to 'bits')
-rw-r--r--bits/sigaction.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bits/sigaction.h b/bits/sigaction.h
index 97ce95f7b3..7797017c29 100644
--- a/bits/sigaction.h
+++ b/bits/sigaction.h
@@ -15,6 +15,9 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#ifndef _BITS_SIGACTION_H
+#define _BITS_SIGACTION_H 1
+
 #ifndef _SIGNAL_H
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
@@ -77,3 +80,5 @@ struct sigaction
 #define	SIG_BLOCK	1	/* Block signals.  */
 #define	SIG_UNBLOCK	2	/* Unblock signals.  */
 #define	SIG_SETMASK	3	/* Set the set of blocked signals.  */
+
+#endif