Originally committed as revision 7991 to svn://svn.ffmpeg.org/ffmpeg/trunk
}
#endif /* !defined(HAVE_INET_ATON) && defined(CONFIG_NETWORK) */
+#ifdef CONFIG_FFSERVER
#ifndef HAVE_SYS_POLL_H
int poll(struct pollfd *fds, nfds_t numfds, int timeout)
{
return rc;
}
-
-
#endif /* HAVE_SYS_POLL_H */
+#endif /* CONFIG_FFSERVER */
#define closesocket close
#endif
+#ifdef CONFIG_FFSERVER
#ifndef HAVE_SYS_POLL_H
typedef unsigned long nfds_t;
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
#endif /* HAVE_SYS_POLL_H */
+#endif /* CONFIG_FFSERVER */
#endif /* _OS_SUPPORT_H */