From 5d2044f6432f2531100a5f469597c275cb5b7ecb Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Fri, 28 Mar 2008 14:25:06 +0000 Subject: [PATCH] POSIX headers should not include BeOS/Haiku headers. Should help with flex's pthread test. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24625 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/pthread.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/headers/posix/pthread.h b/headers/posix/pthread.h index 9f84d3255e..50a3ca5eb2 100644 --- a/headers/posix/pthread.h +++ b/headers/posix/pthread.h @@ -5,9 +5,8 @@ #define _PTHREAD_H_ #include -#include -typedef thread_id pthread_t; +typedef int pthread_t; typedef struct _pthread_attr *pthread_attr_t; typedef struct _pthread_mutex *pthread_mutex_t; typedef struct _pthread_mutexattr *pthread_mutexattr_t;