[vlc-devel] commit: Fix missing declaration (supposedly crash on amd64) ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 5 15:43:42 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct  5 16:11:00 2008 +0300| [4bf404797434a0f1bac72d961b9b7cd0cf651d4d] | committer: Rémi Denis-Courmont 

Fix missing declaration (supposedly crash on amd64)

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

 src/network/io.c  |    2 ++
 src/network/tcp.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/network/io.c b/src/network/io.c
index a463569..fd01cf5 100644
--- a/src/network/io.c
+++ b/src/network/io.c
@@ -74,6 +74,8 @@
 # define SOL_DCCP 269
 #endif
 
+#include "libvlc.h" /* vlc_object_waitpipe */
+
 extern int rootwrap_bind (int family, int socktype, int protocol,
                           const struct sockaddr *addr, size_t alen);
 
diff --git a/src/network/tcp.c b/src/network/tcp.c
index e027e27..fe27375 100644
--- a/src/network/tcp.c
+++ b/src/network/tcp.c
@@ -58,6 +58,8 @@
 #   define ETIMEDOUT WSAETIMEDOUT
 #endif
 
+#include "libvlc.h" /* vlc_object_waitpipe */
+
 static int SocksNegotiate( vlc_object_t *, int fd, int i_socks_version,
                            const char *psz_user, const char *psz_passwd );
 static int SocksHandshakeTCP( vlc_object_t *,




More information about the vlc-devel mailing list