summaryrefslogtreecommitdiff
path: root/pthread/pt-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-internal.h')
-rw-r--r--pthread/pt-internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pthread/pt-internal.h b/pthread/pt-internal.h
index 94bc9a7..6186c86 100644
--- a/pthread/pt-internal.h
+++ b/pthread/pt-internal.h
@@ -54,6 +54,7 @@ enum pthread_state
# define PTHREAD_SYSDEP_MEMBERS
#endif
+#ifndef IS_IN_libpthread
#ifdef ENABLE_TLS
/* Type of the TCB. */
typedef struct
@@ -63,6 +64,7 @@ typedef struct
thread_t self; /* This thread's control port. */
} tcbhead_t;
#endif /* ENABLE_TLS */
+#endif /* IS_IN_libpthread */
/* This structure describes a POSIX thread. */
struct __pthread