From 84997ef7b01c151b82f884e3014f74c45c85540b Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sat, 11 Apr 2009 16:57:50 +0000 Subject: [PATCH] GNU Pth has some fragile kludges that were broken by r189828. I've discussed this with the Pth maintainer and no clear solution has emerged on the ports side of things, so for now, hack around the issue in signal.h. --- include/signal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/signal.h b/include/signal.h index fdb4b3ed6d09..7ad494d41adf 100644 --- a/include/signal.h +++ b/include/signal.h @@ -72,8 +72,10 @@ int raise(int); #if __POSIX_VISIBLE || __XSI_VISIBLE int kill(__pid_t, int); +#ifndef _PTH_PTHREAD_H_ /* XXX kludge to work around GNU Pth brokenness */ int pthread_kill(__pthread_t, int); int pthread_sigmask(int, const __sigset_t *, __sigset_t *); +#endif int sigaction(int, const struct sigaction * __restrict, struct sigaction * __restrict); int sigaddset(sigset_t *, int);