sys/signal.h: include sys/ucontext.h on Cygwin per POSIX.1-2008
* libc/include/sys/signal.h [__CYGWIN__]: include <sys/ucontext.h> if compiling for POSIX.1-2008. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
parent
4cb24051f4
commit
9f3100c958
|
@ -352,6 +352,12 @@ int _EXFUN(sigqueue, (pid_t pid, int signo, const union sigval value));
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CYGWIN__)
|
||||||
|
#if __POSIX_VISIBLE >= 200809
|
||||||
|
#include <sys/ucontext.h>
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef _SIGNAL_H_
|
#ifndef _SIGNAL_H_
|
||||||
/* Some applications take advantage of the fact that <sys/signal.h>
|
/* Some applications take advantage of the fact that <sys/signal.h>
|
||||||
* and <signal.h> are equivalent in glibc. Allow for that here. */
|
* and <signal.h> are equivalent in glibc. Allow for that here. */
|
||||||
|
|
Loading…
Reference in New Issue