Commit 9d97ee1d authored by ramiro's avatar ramiro

Put network-related code under #ifdef

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12372 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2bbeebaa
......@@ -52,6 +52,7 @@ __declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
# endif
#endif
#ifdef CONFIG_NETWORK
#ifndef HAVE_SOCKLEN_T
typedef int socklen_t;
#endif
......@@ -89,5 +90,6 @@ struct pollfd {
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
#endif /* HAVE_POLL_H */
#endif /* CONFIG_FFSERVER */
#endif /* CONFIG_NETWORK */
#endif /* FFMPEG_OS_SUPPORT_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