From 29098a80cb1502f59db9ff67b74ae8d32652db43 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Thu, 23 Mar 2006 08:37:36 +0000 Subject: [PATCH] Need time.h for nanosleep too... --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401605 --- src/timer/unix/SDL_systimer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/timer/unix/SDL_systimer.c b/src/timer/unix/SDL_systimer.c index e3d9bf1ea..6501b920c 100644 --- a/src/timer/unix/SDL_systimer.c +++ b/src/timer/unix/SDL_systimer.c @@ -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