Commit 9d0984d5 authored by rbultje's avatar rbultje

Implement a fallback for struct sockaddr_storage if not available.

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



git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21149 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1b8cf49f
......@@ -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