From db35db3621c037ac015d13b564eec24582972f8e Mon Sep 17 00:00:00 2001 From: das Date: Sat, 11 Apr 2009 16:57:50 +0000 Subject: 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 fdb4b3e..7ad494d 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); -- cgit v1.1