]> git.sesse.net Git - vlc/blobdiff - src/network/poll.c
VLM: provide stubs for --disable-vlm
[vlc] / src / network / poll.c
index 2bef3f52564f3cdbcc76c7472452a4f25f95a8f9..f6f9050effd9df1f7c1ffd4b4f2d0b293295d2de 100644 (file)
 #endif
 
 #include <vlc_common.h>
+#include <vlc_network.h>
 
 #ifdef HAVE_POLL
 struct pollfd;
 
 int vlc_poll (struct pollfd *fds, unsigned nfds, int timeout)
 {
-    return poll (fds, nfds, timeout);
+    (void)fds; (void)nfds; (void)timeout;
+    abort ();
 }
 #else /* !HAVE_POLL */
 #include <string.h>