diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-11-12 10:01:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-11-12 10:01:28 +0000 |
commit | 055778f3963336f41210feb4728a8d32da1d74fe (patch) | |
tree | ebec111594a4a9958d3f14473457ae90bbc1c40e /signal/signal.h | |
parent | 159d4836052d805bd37d94720c16a589c283c0da (diff) | |
download | glibc-055778f3963336f41210feb4728a8d32da1d74fe.tar.gz |
Undo last change. Get definition of timespec if __USE_POSIX199309.
Diffstat (limited to 'signal/signal.h')
-rw-r--r-- | signal/signal.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/signal/signal.h b/signal/signal.h index a2d80cf486..107650f113 100644 --- a/signal/signal.h +++ b/signal/signal.h @@ -180,6 +180,10 @@ typedef __sighandler_t sig_t; #ifdef __USE_POSIX # ifdef __USE_POSIX199309 +/* We need `struct timespec' later on. */ +# define __need_timespec +# include <time.h> + /* Get the `siginfo_t' type plus the needed symbols. */ # include <bits/siginfo.h> # endif @@ -238,9 +242,6 @@ extern int sigpending __P ((sigset_t *__set)); extern int sigwait __P ((__const sigset_t *__set, int *__sig)); # ifdef __USE_POSIX199309 -/* This type actually is defined in <time.h>. */ -struct timespec; - /* Select any of pending signals from SET and place information in INFO. */ extern int sigwaitinfo __P ((__const sigset_t *__set, siginfo_t *__info)); |