aboutsummaryrefslogtreecommitdiffstats
path: root/include/signal.h
diff options
context:
space:
mode:
authorDavid Schultz <das@FreeBSD.org>2009-04-11 16:57:50 +0000
committerDavid Schultz <das@FreeBSD.org>2009-04-11 16:57:50 +0000
commit84997ef7b01c151b82f884e3014f74c45c85540b (patch)
tree869e1fb5b45a411b0d02ad0df7f26af5fd6618f8 /include/signal.h
parentfd409594c6b9432cf730e4e9ff4395526862f8ef (diff)
downloadsrc-84997ef7b01c151b82f884e3014f74c45c85540b.tar.gz
src-84997ef7b01c151b82f884e3014f74c45c85540b.zip
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.
Notes
Notes: svn path=/head/; revision=190943
Diffstat (limited to 'include/signal.h')
-rw-r--r--include/signal.h2
1 files changed, 2 insertions, 0 deletions
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);