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

git at videolan.org git at videolan.org
Tue May 25 19:34:08 CEST 2010


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

Missing #include

Pointed-out-by: Sébastien Escudier
(cherry picked from commit f8e7eaf7ec85cf694ead92564a4797b5e01e4033)

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

 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