diff network.h @ 6460:e29a553aa1fc libavformat

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.
author rbultje
date Fri, 03 Sep 2010 20:06:01 +0000
parents 1c93ef22cea6
children
line wrap: on
line diff
--- a/network.h	Fri Sep 03 19:30:27 2010 +0000
+++ b/network.h	Fri Sep 03 20:06:01 2010 +0000
@@ -151,4 +151,8 @@
 #define gai_strerror ff_gai_strerror
 #endif
 
+#ifndef INET6_ADDRSTRLEN
+#define INET6_ADDRSTRLEN INET_ADDRSTRLEN
+#endif
+
 #endif /* AVFORMAT_NETWORK_H */