Commit 34a65f1f authored by Martin Storsjö's avatar Martin Storsjö Committed by Ronald S. Bultje

Implement a fallback for struct sockaddr_storage if not available.

Patch by Martin Storsjö <$firstname()$firstname,st>.

Originally committed as revision 21149 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 33a4dbdd
......@@ -68,6 +68,12 @@ static inline void ff_network_close(void)
int inet_aton (const char * str, struct in_addr * add);
#endif
#if !HAVE_STRUCT_SOCKADDR_STORAGE
struct sockaddr_storage {
struct sockaddr_in x;
};
#endif
#if !HAVE_STRUCT_ADDRINFO
struct addrinfo {
int ai_flags;
......
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