--- a/src/server/public/nsapi.h Sun May 06 10:09:27 2012 +0200 +++ b/src/server/public/nsapi.h Wed May 16 12:47:28 2012 +0200 @@ -349,6 +349,7 @@ #include <unistd.h> #include <sys/file.h> #include <alloca.h> /* new */ +#include <pthread.h> #ifndef HPUX #include <sys/select.h> #endif @@ -830,7 +831,8 @@ }; /* Define a handle for a thread */ -typedef void* SYS_THREAD; +//typedef void* SYS_THREAD; +typedef pthread_t SYS_THREAD; /* Define an error value for the thread handle */ #define SYS_THREAD_ERROR NULL