auto import from //branches/cupcake/...@126645
diff --git a/opengl/libGLES_CM/gl_wrapper.cpp b/opengl/libGLES_CM/gl_wrapper.cpp
index 3b7f45e..3197535 100644
--- a/opengl/libGLES_CM/gl_wrapper.cpp
+++ b/opengl/libGLES_CM/gl_wrapper.cpp
@@ -203,7 +203,8 @@
#if defined(HAVE_ANDROID_OS) && !USE_SLOW_BINDING && !GL_LOGGER
-#include <sys/tls.h>
+/* special private C library header */
+#include <bionic_tls.h>
// We have a dedicated TLS slot in bionic
static inline void setGlThreadSpecific(gl_hooks_t const *value) {
((uint32_t *)__get_tls())[TLS_SLOT_OPENGL_API] = (uint32_t)value;