src/timer/unix/SDL_systimer.c
changeset 1598 5a6893ebc15a
parent 1402 d910939febfa
child 1635 92947e3a18db
--- a/src/timer/unix/SDL_systimer.c	Thu Mar 23 07:44:52 2006 +0000
+++ b/src/timer/unix/SDL_systimer.c	Thu Mar 23 08:37:36 2006 +0000
@@ -36,7 +36,7 @@
    for __USE_POSIX199309
    Tommi Kyntola (tommi.kyntola@ray.fi) 27/09/2005
 */
-#if HAVE_CLOCK_GETTIME
+#if HAVE_NANOSLEEP || HAVE_CLOCK_GETTIME
 #include <time.h>
 #endif