* signal/signal.h: Don't include <time.h> for timespec, add
forward declaration.
1998-10-27 Ulrich Drepper <drepper@cygnus.com>
+ * signal/signal.h: Don't include <time.h> for timespec, add
+ forward declaration.
+
* sysdeps/i386/bits/select.h [!__USE_XOPEN]: Add special version
of __FD_* macros which use __fds_bits.
* sysdeps/generic/bits/select.h: Likewise.
#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
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));