summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread.h')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread.h b/libpthread/nptl/sysdeps/pthread/pthread.h
index 9090b30d9..bb322af8f 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread.h
+++ b/libpthread/nptl/sysdeps/pthread/pthread.h
@@ -26,7 +26,7 @@
#define __need_sigset_t
#include <signal.h>
#include <bits/pthreadtypes.h>
-#include <setjmp.h>
+#include <bits/setjmp.h>
#include <bits/wordsize.h>
#if defined _LIBC && ( defined IS_IN_libc || defined NOT_IN_libc )
#include <bits/uClibc_pthread.h>
@@ -536,6 +536,9 @@ class __pthread_cleanup_class
needed or fall back on the copy which must exist somewhere
else. */
extern __inline void
+__pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame);
+
+extern __inline void
__pthread_cleanup_routine (struct __pthread_cleanup_frame *__frame)
{
if (__frame->__do_it)