summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads.old/ptlongjmp.c1
-rw-r--r--libpthread/linuxthreads/ptcleanup.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/libpthread/linuxthreads.old/ptlongjmp.c b/libpthread/linuxthreads.old/ptlongjmp.c
index c01b9194b..5cb708944 100644
--- a/libpthread/linuxthreads.old/ptlongjmp.c
+++ b/libpthread/linuxthreads.old/ptlongjmp.c
@@ -19,6 +19,7 @@
#include "pthread.h"
#include "internals.h"
#include <bits/stackinfo.h>
+#include <jmpbuf-unwind.h>
static void pthread_cleanup_upto(__jmp_buf target)
{
diff --git a/libpthread/linuxthreads/ptcleanup.c b/libpthread/linuxthreads/ptcleanup.c
index 75bb7d599..88b9453ff 100644
--- a/libpthread/linuxthreads/ptcleanup.c
+++ b/libpthread/linuxthreads/ptcleanup.c
@@ -20,8 +20,8 @@
#include <setjmp.h>
#include "pthread.h"
#include "internals.h"
-#ifndef NO_PTR_DEMANGLE
#include <jmpbuf-unwind.h>
+#ifndef NO_PTR_DEMANGLE
#define __JMPBUF_UNWINDS(a,b,c) _JMPBUF_UNWINDS(a,b,c)
#else
#define __JMPBUF_UNWINDS(a,b,c) _JMPBUF_UNWINDS(a,b)