From 131affcd2f869833f348b80cabfa96ae89a3600d Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 15 Nov 2000 02:59:15 +0000
Subject: [PATCH] Now #includes pthread.h for Unix builds (for POSIX threads
 and mutexes).

---
 src/sbbs3/sbbswrap.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/sbbs3/sbbswrap.h b/src/sbbs3/sbbswrap.h
index d84330e4aa..e7e8802464 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);
 
-- 
GitLab