os x needs nanosleep prototype.
authorBradley Bell <btb@icculus.org>
Wed, 19 Feb 2003 20:52:57 +0000 (20:52 +0000)
committerBradley Bell <btb@icculus.org>
Wed, 19 Feb 2003 20:52:57 +0000 (20:52 +0000)
libmve/mveplay.c

index f0f5f64..941acde 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: mveplay.c,v 1.4 2003-02-19 03:09:38 btb Exp $ */
+/* $Id: mveplay.c,v 1.5 2003-02-19 20:52:57 btb Exp $ */
 #ifdef HAVE_CONFIG_H
 #include <conf.h>
 #endif
@@ -129,6 +129,10 @@ static int micro_frame_delay=0;
 static int timer_started=0;
 static struct timeval timer_expire = {0, 0};
 
+#ifdef __MACOSX__
+int nanosleep(struct timespec *ts, void *rem);
+#endif
+
 #ifdef __WIN32
 #include <sys/timeb.h>