From: RĂ©mi Denis-Courmont Date: Sun, 5 Oct 2008 13:11:00 +0000 (+0300) Subject: Fix missing declaration (supposedly crash on amd64) X-Git-Tag: 1.0.0-pre1~2698 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=4bf404797434a0f1bac72d961b9b7cd0cf651d4d;p=vlc Fix missing declaration (supposedly crash on amd64) --- diff --git a/src/network/io.c b/src/network/io.c index a463569356..fd01cf5caf 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 e027e277be..fe27375941 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 *,