changeset 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 |
cf0ea082dad2 |
children |
c12416642843 |
files |
network.h os_support.h |
diffstat |
2 files changed, 4 insertions(+), 4 deletions(-)
[+]
|
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 */
--- a/os_support.h Fri Sep 03 19:30:27 2010 +0000
+++ b/os_support.h Fri Sep 03 20:06:01 2010 +0000
@@ -55,10 +55,6 @@
#define closesocket close
#endif
-#ifndef INET6_ADDRSTRLEN
-#define INET6_ADDRSTRLEN INET_ADDRSTRLEN
-#endif
-
#if CONFIG_FFSERVER
#if !HAVE_POLL_H
typedef unsigned long nfds_t;