X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fos_support.c;h=15cea7fa5b0d75cf847751a604dde42fe84bd4bd;hb=755e618399264d57a64a21115e2bf067b73492e7;hp=099d7b501f4393e7ca63259ed15f2fe998396d9a;hpb=0dc11d8bbd470db89fbc17b7434e992c9129b310;p=ffmpeg diff --git a/libavformat/os_support.c b/libavformat/os_support.c index 099d7b501f4..15cea7fa5b0 100644 --- a/libavformat/os_support.c +++ b/libavformat/os_support.c @@ -43,6 +43,7 @@ #include "network.h" +#if !HAVE_GETADDRINFO #if !HAVE_INET_ATON #include @@ -62,7 +63,6 @@ static int inet_aton(const char *str, struct in_addr *add) } #endif /* !HAVE_INET_ATON */ -#if !HAVE_GETADDRINFO int ff_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res) {