#error You are not libvlc or one of its plugins. You cannot include this file
#endif
+#ifndef _VLC_THREADS_H_
+#define _VLC_THREADS_H_
+
#include <stdio.h>
#if defined(DEBUG) && defined(HAVE_SYS_TIME_H)
#elif defined( PTHREAD_COND_T_IN_PTHREAD_H ) /* pthreads (like Linux & BSD) */
# define LIBVLC_USE_PTHREAD 1
+# define _APPLE_C_SOURCE 1 /* Proper pthread semantics on OSX */
# include <pthread.h>
# ifdef DEBUG
#endif
+#endif