]> git.sesse.net Git - vlc/commitdiff
Add missing header
authorRafaël Carré <funman@videolan.org>
Tue, 27 May 2008 11:02:01 +0000 (13:02 +0200)
committerRafaël Carré <funman@videolan.org>
Tue, 27 May 2008 23:20:52 +0000 (01:20 +0200)
include/vlc_threads.h

index a8980a2ba6a2822653dffe92571105f939946c74..72dac3009a096718ca88c5e93811868eebaf65fd 100644 (file)
@@ -47,6 +47,7 @@
 #   define LIBVLC_USE_PTHREAD 1
 #   define _APPLE_C_SOURCE    1 /* Proper pthread semantics on OSX */
 
+#   include <stdlib.h> /* lldiv_t definition (only in C99) */
 #   include <unistd.h> /* _POSIX_SPIN_LOCKS */
 #   include <pthread.h>
     /* Needed for pthread_cond_timedwait */