src/thread/pthread/SDL_syssem.c
changeset 1487 dc6b59e925a2
parent 1402 d910939febfa
child 1627 aee7ea396f59
--- a/src/thread/pthread/SDL_syssem.c	Wed Mar 08 18:30:12 2006 +0000
+++ b/src/thread/pthread/SDL_syssem.c	Thu Mar 09 06:33:21 2006 +0000
@@ -31,6 +31,7 @@
 
 #ifdef __MACOSX__
 #define USE_NAMED_SEMAPHORES 1
+#include <unistd.h>
 #endif
 
 struct SDL_semaphore {