Commit 409e1d71 authored by Ramiro Polla's avatar Ramiro Polla

Put network-related code under #ifdef

Originally committed as revision 12372 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 591cf117
...@@ -52,6 +52,7 @@ __declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds); ...@@ -52,6 +52,7 @@ __declspec(dllimport) void WINAPI Sleep(unsigned long dwMilliseconds);
# endif # endif
#endif #endif
#ifdef CONFIG_NETWORK
#ifndef HAVE_SOCKLEN_T #ifndef HAVE_SOCKLEN_T
typedef int socklen_t; typedef int socklen_t;
#endif #endif
...@@ -89,5 +90,6 @@ struct pollfd { ...@@ -89,5 +90,6 @@ struct pollfd {
extern int poll(struct pollfd *fds, nfds_t numfds, int timeout); extern int poll(struct pollfd *fds, nfds_t numfds, int timeout);
#endif /* HAVE_POLL_H */ #endif /* HAVE_POLL_H */
#endif /* CONFIG_FFSERVER */ #endif /* CONFIG_FFSERVER */
#endif /* CONFIG_NETWORK */
#endif /* FFMPEG_OS_SUPPORT_H */ #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