summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:07:52 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-06-03 03:07:52 +0000
commita4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f (patch)
treea7a4f4de537e8dfa57fe74803b05a4c4032b15ac /libpthread/nptl/sysdeps/pthread
parent2fa128140331bedcb9677ab7838dca63926abd63 (diff)
downloaduClibc-alpine-a4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f.tar.bz2
uClibc-alpine-a4db401c4e61ba9db1e96fc670a7eb1ee7da2a5f.tar.xz
Fix up include paths for compilation in uClibc.
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread.h b/libpthread/nptl/sysdeps/pthread/pthread.h
index 9bc104d31..7157e4718 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread.h
+++ b/libpthread/nptl/sysdeps/pthread/pthread.h
@@ -26,7 +26,11 @@
#define __need_sigset_t
#include <signal.h>
#include <bits/pthreadtypes.h>
+#ifdef __UCLIBC__
#include <setjmp.h>
+#else
+#include <bits/setjmp.h>
+#endif
#include <bits/wordsize.h>