--- src/lib/libthread_xu/thread/thr_init.c 2005/02/21 13:47:21 1.2 +++ src/lib/libthread_xu/thread/thr_init.c 2005/03/29 19:26:20 1.3 @@ -42,6 +42,7 @@ #include #include #include +#include #include #include @@ -54,6 +55,7 @@ #include #include #include + #include #include #include @@ -289,7 +291,7 @@ _libpthread_init(struct pthread *curthre _thread_active_threads = 1; /* Setup the thread specific data */ - _tcb_set(curthread->tcb); + tls_set_tcb(curthread->tcb); if (first) { SIGFILLSET(sigset);