[vlc-commits] commit: Missing #include ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Tue May 25 19:14:15 CEST 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue May 25 20:13:54 2010 +0300| [f8e7eaf7ec85cf694ead92564a4797b5e01e4033] | committer: Rémi Denis-Courmont 

Missing #include

Pointed-out-by: Sébastien Escudier

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f8e7eaf7ec85cf694ead92564a4797b5e01e4033
---

 src/extras/libc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/src/extras/libc.c b/src/extras/libc.c
index 11cabc3..1be7fe8 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -31,6 +31,8 @@
 
 #include <vlc_common.h>
 
+#include <errno.h>
+
 #undef iconv_t
 #undef iconv_open
 #undef iconv
@@ -47,7 +49,6 @@
 #ifdef HAVE_FORK
 #   include <signal.h>
 #   include <unistd.h>
-#   include <errno.h>
 #   include <sys/wait.h>
 #   include <sys/socket.h>
 #   include <sys/poll.h>



More information about the vlc-commits mailing list