mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Move INET6_ADDRSTRLEN to network.h, similar to other network-related fixups
for broken OSes. This is included in rtsp.h, as opposed to os_support.h. Should fix OS/2 broken build on fate. Originally committed as revision 25035 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
521d434fd5
commit
f0d8ac529f
@ -151,4 +151,8 @@ const char *ff_gai_strerror(int ecode);
|
|||||||
#define gai_strerror ff_gai_strerror
|
#define gai_strerror ff_gai_strerror
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef INET6_ADDRSTRLEN
|
||||||
|
#define INET6_ADDRSTRLEN INET_ADDRSTRLEN
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* AVFORMAT_NETWORK_H */
|
#endif /* AVFORMAT_NETWORK_H */
|
||||||
|
@ -55,10 +55,6 @@ typedef int socklen_t;
|
|||||||
#define closesocket close
|
#define closesocket close
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef INET6_ADDRSTRLEN
|
|
||||||
#define INET6_ADDRSTRLEN INET_ADDRSTRLEN
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if CONFIG_FFSERVER
|
#if CONFIG_FFSERVER
|
||||||
#if !HAVE_POLL_H
|
#if !HAVE_POLL_H
|
||||||
typedef unsigned long nfds_t;
|
typedef unsigned long nfds_t;
|
||||||
|
Loading…
Reference in New Issue
Block a user