|
@@ -68,6 +68,12 @@ static inline void ff_network_close(void) |
|
|
int inet_aton (const char * str, struct in_addr * add); |
|
|
int inet_aton (const char * str, struct in_addr * add); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#if !HAVE_STRUCT_SOCKADDR_STORAGE |
|
|
|
|
|
struct sockaddr_storage { |
|
|
|
|
|
struct sockaddr_in x; |
|
|
|
|
|
}; |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if !HAVE_STRUCT_ADDRINFO |
|
|
#if !HAVE_STRUCT_ADDRINFO |
|
|
struct addrinfo { |
|
|
struct addrinfo { |
|
|
int ai_flags; |
|
|
int ai_flags; |
|
|