# HG changeset patch # User Sam Lantinga # Date 1143103056 0 # Node ID 5a6893ebc15a48b89c0abe0adb05be8d98d0b9a5 # Parent 06e9f1c7611b8610e27f6f34101232fa543f523d Need time.h for nanosleep too... diff -r 06e9f1c7611b -r 5a6893ebc15a src/timer/unix/SDL_systimer.c --- 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 #endif