From 546844365d9004af8e12f6386d2086700e6cfbe1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 24 Jan 2008 16:38:25 +0000 Subject: [PATCH] timespec is in time.h, not sys/time.h --- include/vlc_threads.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/vlc_threads.h b/include/vlc_threads.h index f4c09c6db4..e543936f2c 100644 --- a/include/vlc_threads.h +++ b/include/vlc_threads.h @@ -34,10 +34,6 @@ #include -#if defined(DEBUG) && defined(HAVE_SYS_TIME_H) -# include -#endif - #if defined( UNDER_CE ) /* WinCE API */ #elif defined( WIN32 ) @@ -56,6 +52,10 @@ # include /* Needed for pthread_cond_timedwait */ # include +# ifdef DEBUG +# include +# endif + /* This is not prototyped under Linux, though it exists. */ int pthread_mutexattr_setkind_np( pthread_mutexattr_t *attr, int kind ); -- 2.39.2