From 3ea9fb9c5fb34162624dec53c1906f50dff6131e Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Mon, 11 Jan 2010 18:44:02 +0200 Subject: [PATCH] threads: remove legacy #includes --- include/vlc_threads.h | 4 ---- src/misc/cpu.c | 2 ++ src/misc/w32thread.c | 1 + 3 files changed, 3 insertions(+), 4 deletions(-) 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 -- 2.39.2