From: RĂ©mi Denis-Courmont Date: Mon, 11 Jan 2010 16:44:02 +0000 (+0200) Subject: threads: remove legacy #includes X-Git-Tag: 1.1.0-ff~1287 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=3ea9fb9c5fb34162624dec53c1906f50dff6131e;p=vlc threads: remove legacy #includes --- diff --git a/include/vlc_threads.h b/include/vlc_threads.h index 9469bb29b9..da02ff8234 100644 --- a/include/vlc_threads.h +++ b/include/vlc_threads.h @@ -35,21 +35,17 @@ */ #if defined( UNDER_CE ) -# include /* WinCE API */ #elif defined( WIN32 ) # include /* Win32 API */ -# include #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 /* lldiv_t definition (only in C99) */ # include /* _POSIX_SPIN_LOCKS */ # include # include -# include #endif diff --git a/src/misc/cpu.c b/src/misc/cpu.c index d1b9324902..777b13a02d 100644 --- a/src/misc/cpu.c +++ b/src/misc/cpu.c @@ -37,6 +37,8 @@ #ifndef WIN32 #include #include +#else +#include #endif #include "libvlc.h" diff --git a/src/misc/w32thread.c b/src/misc/w32thread.c index c712ca845b..234ef8becb 100644 --- a/src/misc/w32thread.c +++ b/src/misc/w32thread.c @@ -36,6 +36,7 @@ #include #include #include +#include #ifdef UNDER_CE # include #endif