diff options
author | das <das@FreeBSD.org> | 2009-04-11 16:57:50 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2009-04-11 16:57:50 +0000 |
commit | db35db3621c037ac015d13b564eec24582972f8e (patch) | |
tree | 869e1fb5b45a411b0d02ad0df7f26af5fd6618f8 /include/signal.h | |
parent | 9260481d50f0758285a0823575874b37738f9284 (diff) | |
download | FreeBSD-src-db35db3621c037ac015d13b564eec24582972f8e.zip FreeBSD-src-db35db3621c037ac015d13b564eec24582972f8e.tar.gz |
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.
Diffstat (limited to 'include/signal.h')
-rw-r--r-- | include/signal.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |