diff --git a/src/sbbs3/sbbswrap.h b/src/sbbs3/sbbswrap.h index d84330e4aa902c171a4c2bf4f66796e721c28945..e7e8802464cdeb24e6e0c1f3881a4496d7c56602 100644 --- a/src/sbbs3/sbbswrap.h +++ b/src/sbbs3/sbbswrap.h @@ -121,7 +121,8 @@ extern "C" { #ifdef __unix__ - #include <semaphore.h> /* POSIX 1003.1b semaphores */ + #include <pthread.h> /* POSIX threads and mutexes */ + #include <semaphore.h> /* POSIX semaphores */ ulong _beginthread(void( *start_address )( void * ) ,unsigned stack_size, void *arglist);