[vlc-devel] commit: Include header only if needed (Pierre Ynard )
git version control
git at videolan.org
Thu Nov 12 07:40:22 CET 2009
vlc | branch: 1.0-bugfix | Pierre Ynard <linkfanel at yahoo.fr> | Tue Nov 10 08:35:24 2009 +0100| [96724e8d8acfd23885f4fb853ddd698094e37049] | committer: Pierre Ynard
Include header only if needed
This fixes compilation on WinCE, where signal.h is missing
(cherry picked from commit b6d44be792493f2ad9364d255d758df5d60d8ce6)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96724e8d8acfd23885f4fb853ddd698094e37049
---
src/extras/libc.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/extras/libc.c b/src/extras/libc.c
index 60c7139..ada9f6e 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -47,9 +47,8 @@
# include <dirent.h>
#endif
-#include <signal.h>
-
#ifdef HAVE_FORK
+# include <signal.h>
# include <sys/time.h>
# include <unistd.h>
# include <errno.h>
More information about the vlc-devel
mailing list