diff src/thread/pthread/SDL_syssem.c @ 1487:dc6b59e925a2

Cleaning up warnings on MacOS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 09 Mar 2006 06:33:21 +0000
parents d910939febfa
children aee7ea396f59
line wrap: on
line diff
--- 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 {