time.h is always needed (because of pthread_cond_timedwait)
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 9 Feb 2008 08:21:21 +0000 (08:21 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 9 Feb 2008 08:21:21 +0000 (08:21 +0000)
include/vlc_threads.h

index c2eb0bd..0065b4d 100644 (file)
@@ -52,9 +52,7 @@
 #   include <pthread.h>
     /* Needed for pthread_cond_timedwait */
 #   include <errno.h>
-#   ifndef NDEBUG
-#      include <time.h>
-#   endif
+#   include <time.h>
 
 #endif