[vlc-devel] commit: Include header only if needed (Pierre Ynard )
git version control
git at videolan.org
Thu Nov 12 08:25:13 CET 2009
vlc | branch: 1.0-bugfix | Pierre Ynard <linkfanel at yahoo.fr> | Thu Nov 12 08:24:04 2009 +0100| [e4e10e99ff0f7f9268dc0b6a8b10a89a6d237cab] | committer: Pierre Ynard
Include header only if needed
This fixes compilation on WinCE, where signal.h is missing
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e4e10e99ff0f7f9268dc0b6a8b10a89a6d237cab
---
src/misc/threads.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index 01a73bc..9f83c40 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -37,9 +37,9 @@
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
-#include <signal.h>
#if defined( LIBVLC_USE_PTHREAD )
+# include <signal.h>
# include <sched.h>
# ifdef __linux__
# include <sys/syscall.h> /* SYS_gettid */
More information about the vlc-devel
mailing list