summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread/pthread.h
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-25 14:46:46 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-25 14:46:46 -0700
commit349ae7cabbf444bd6096f59f13e49b9d3c8c6b77 (patch)
tree1079d55dbbf98f1dbea3e89bf6b3d310c83ae532 /libpthread/nptl/sysdeps/pthread/pthread.h
parentbba39f9318994349da4efd218595fa196cc9d11e (diff)
downloaduClibc-alpine-349ae7cabbf444bd6096f59f13e49b9d3c8c6b77.tar.bz2
uClibc-alpine-349ae7cabbf444bd6096f59f13e49b9d3c8c6b77.tar.xz
Revert part of ecd7069ac6
This seemingly harmless warning fix causes mutex use in libc to crash... Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread.h')
-rw-r--r--libpthread/nptl/sysdeps/pthread/pthread.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/pthread.h b/libpthread/nptl/sysdeps/pthread/pthread.h
index a4a3b3b1d..c4bfc0e81 100644
--- a/libpthread/nptl/sysdeps/pthread/pthread.h
+++ b/libpthread/nptl/sysdeps/pthread/pthread.h
@@ -28,6 +28,9 @@
#include <bits/pthreadtypes.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>
+#endif
/* Detach state. */