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

git version control git at videolan.org
Mon Oct 6 15:46:43 CEST 2008


vlc | branch: 0.9-bugfix | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Oct  5 16:11:00 2008 +0300| [1d80eeb8927089589870ae58bf7b2f089691e430] | committer: Derk-Jan Hartman 

Fix missing declaration (supposedly crash on amd64)
(cherry picked from commit 4bf404797434a0f1bac72d961b9b7cd0cf651d4d)

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

 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