From 91ff0ff529a172440ff0d09d206267220d6a2d5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 24 Mar 2009 23:35:43 +0200 Subject: [PATCH] Fix missing prototype warning I would really prefer to remove vlc_poll() from exports in the long term. --- src/network/poll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/network/poll.c b/src/network/poll.c index 7aa314db39..cf9554a30a 100644 --- a/src/network/poll.c +++ b/src/network/poll.c @@ -25,9 +25,12 @@ # include "config.h" #endif -#ifdef HAVE_POLL +#include #include +#include + +#ifdef HAVE_POLL struct pollfd; int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) @@ -37,10 +40,7 @@ int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) } #else /* !HAVE_POLL */ -#include #include -#include -#include int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) { -- 2.39.2