Mercurial > sdl-ios-xcode
diff src/timer/unix/SDL_systimer.c @ 1598:5a6893ebc15a
Need time.h for nanosleep too...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 23 Mar 2006 08:37:36 +0000 |
parents | d910939febfa |
children | 92947e3a18db |
line wrap: on
line diff
--- 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