Commit 3ea9fb9c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

threads: remove legacy #includes

parent 416b9750
......@@ -35,21 +35,17 @@
*/
#if defined( UNDER_CE )
# include <errno.h> /* WinCE API */
#elif defined( WIN32 )
# include <process.h> /* Win32 API */
# include <errno.h>
#else /* pthreads (like Linux & BSD) */
# define LIBVLC_USE_PTHREAD 1
# define LIBVLC_USE_PTHREAD_CANCEL 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>
# include <semaphore.h>
# include <time.h>
#endif
......
......@@ -37,6 +37,8 @@
#ifndef WIN32
#include <unistd.h>
#include <sys/wait.h>
#else
#include <errno.h>
#endif
#include "libvlc.h"
......
......@@ -36,6 +36,7 @@
#include <stdarg.h>
#include <assert.h>
#include <limits.h>
#include <errno.h>
#ifdef UNDER_CE
# include <mmsystem.h>
#endif
......
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