Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Undo last change. Get definition of timespec if __USE_POSIX199309.
  • Loading branch information
Ulrich Drepper committed Nov 12, 1998
1 parent 159d483 commit 055778f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions signal/signal.h
Expand Up @@ -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
Expand Down Expand Up @@ -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));

Expand Down

0 comments on commit 055778f

Please sign in to comment.