diff options
Diffstat (limited to 'src/xine-engine/io_helper.c')
-rw-r--r-- | src/xine-engine/io_helper.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xine-engine/io_helper.c b/src/xine-engine/io_helper.c index 7b190b2c5..0ed24e543 100644 --- a/src/xine-engine/io_helper.c +++ b/src/xine-engine/io_helper.c @@ -45,7 +45,8 @@ #define XIO_POLLING_INTERVAL 50000 /* usec */ -int xio_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int port) { +#ifndef ENABLE_IPV6 +static int xio_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int port) { struct hostent *h; int i, s; @@ -106,6 +107,7 @@ int xio_tcp_connect_ipv4(xine_stream_t *stream, const char *host, int port) { } return -1; } +#endif int xio_tcp_connect(xine_stream_t *stream, const char *host, int port) { |