diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-09-04 00:06:01 +0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-09-04 00:06:01 +0400 |
commit | f0d8ac529ff4373a8b8565cfacfa380edd2f16bc (patch) | |
tree | 0a02517ca095cb54adfc8f3560337617224efde6 /libavformat/network.h | |
parent | 521d434fd5449c5c30c76f51702e237f65849133 (diff) |
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
Diffstat (limited to 'libavformat/network.h')
-rw-r--r-- | libavformat/network.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/network.h b/libavformat/network.h index 0fbcbbb227..d1f3d29455 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -151,4 +151,8 @@ const char *ff_gai_strerror(int ecode); #define gai_strerror ff_gai_strerror #endif +#ifndef INET6_ADDRSTRLEN +#define INET6_ADDRSTRLEN INET_ADDRSTRLEN +#endif + #endif /* AVFORMAT_NETWORK_H */ |