# 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)
abort ();
}
#else /* !HAVE_POLL */
+
+#include <vlc_common.h>
#include <string.h>
#include <stdlib.h>
#include <vlc_network.h>