Commit 700b2282 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Poll: cleanup #includes

parent 1f8962d2
......@@ -25,10 +25,9 @@
# include "config.h"
#endif
#include <vlc_common.h>
#include <vlc_network.h>
#ifdef HAVE_POLL
#include <stdlib.h>
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 <vlc_common.h>
#include <string.h>
#include <stdlib.h>
#include <vlc_network.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment