aboutsummaryrefslogtreecommitdiff
path: root/hurd/hurd.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 03:44:14 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-03-04 04:03:13 +0100
commitba89615dabf44e9e447a3076cf56321ed4505a54 (patch)
tree4980f144585852f805dd19b9f23d0df42847726e /hurd/hurd.h
parenta726c87a149869b51f1c050014d320ff15df81bb (diff)
downloadglibc-ba89615dabf44e9e447a3076cf56321ed4505a54.zip
glibc-ba89615dabf44e9e447a3076cf56321ed4505a54.tar.gz
glibc-ba89615dabf44e9e447a3076cf56321ed4505a54.tar.bz2
hurd: Make almost all hurd headers includable in all standards
* hurd/hurd.h: Include <bits/types/sigset_t.h> * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h> (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t. * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and <bits/types/sigset_t.h>. [!defined __USE_GNU]: Do not #error out. (struct hurd_sigstate): Use _NSIG instead of NSIG. * hurd/hurd/sigpreempt.h (__need_size_t): Define. Include <stddef.h> and <bits/types/sigset_t.h> (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t instead of sighandler_t.
Diffstat (limited to 'hurd/hurd.h')
-rw-r--r--hurd/hurd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hurd/hurd.h b/hurd/hurd.h
index a0e2444..029a7eb 100644
--- a/hurd/hurd.h
+++ b/hurd/hurd.h
@@ -41,6 +41,7 @@
#include <hurd/port.h>
#include <errno.h>
+#include <bits/types/sigset_t.h>
#ifndef _HURD_H_EXTERN_INLINE
#define _HURD_H_EXTERN_INLINE __extern_inline