Commit 8440f6c0 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

errno.h is always needed for pthread now

parent 51794c7a
...@@ -59,10 +59,8 @@ ...@@ -59,10 +59,8 @@
# define _APPLE_C_SOURCE 1 /* Proper pthread semantics on OSX */ # define _APPLE_C_SOURCE 1 /* Proper pthread semantics on OSX */
# include <pthread.h> # include <pthread.h>
# ifdef DEBUG /* Needed for pthread_cond_timedwait */
/* Needed for pthread_cond_timedwait */ # include <errno.h>
# include <errno.h>
# endif
/* This is not prototyped under Linux, though it exists. */ /* This is not prototyped under Linux, though it exists. */
int pthread_mutexattr_setkind_np( pthread_mutexattr_t *attr, int kind ); int pthread_mutexattr_setkind_np( pthread_mutexattr_t *attr, int kind );
......
...@@ -45,8 +45,6 @@ VLC_EXPORT( int, __vlc_thread_set_priority, ( vlc_object_t *, const char *, int ...@@ -45,8 +45,6 @@ VLC_EXPORT( int, __vlc_thread_set_priority, ( vlc_object_t *, const char *, int
VLC_EXPORT( void, __vlc_thread_ready, ( vlc_object_t * ) ); VLC_EXPORT( void, __vlc_thread_ready, ( vlc_object_t * ) );
VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) ); VLC_EXPORT( void, __vlc_thread_join, ( vlc_object_t *, const char *, int ) );
#include <errno.h>
/***************************************************************************** /*****************************************************************************
* vlc_threads_init: initialize threads system * vlc_threads_init: initialize threads system
*****************************************************************************/ *****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment