From: RĂ©mi Denis-Courmont Date: Sun, 18 Jan 2009 14:40:17 +0000 (+0200) Subject: Poll: cleanup #includes X-Git-Tag: 1.0.0-pre1~1239 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=700b2282419f340a99c89ee4ec7bac715522d516;p=vlc Poll: cleanup #includes --- diff --git a/src/network/poll.c b/src/network/poll.c index f6f9050eff..dc1482c875 100644 --- a/src/network/poll.c +++ b/src/network/poll.c @@ -25,10 +25,9 @@ # include "config.h" #endif -#include -#include - #ifdef HAVE_POLL +#include + struct pollfd; int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) @@ -37,6 +36,8 @@ int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout) abort (); } #else /* !HAVE_POLL */ + +#include #include #include #include