--- utils.c.org Mon Mar 7 11:38:20 2005 +++ utils.c Mon Mar 7 11:43:42 2005 @@ -389,7 +389,9 @@ return 0; } - +#ifndef __linux__ +#undef pthread_create /* For ast_pthread_create function only */ +#endif /* ! LINUX */ int ast_pthread_create_stack(pthread_t *thread, pthread_attr_t *attr, void *(*start_routine)(void *), void *data, size_t stacksize) { pthread_attr_t lattr;