lavf/os_support: Only compile inet_aton() if getaddrinfo() is needed.
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>
Sun, 15 Apr 2018 23:28:47 +0000 (01:28 +0200)
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>
Mon, 23 Apr 2018 11:39:29 +0000 (13:39 +0200)
commit2442cf3615a1547abfcb24ea061b0f65dee7f0ea
tree356116aec6222b815095dd4135ae7358098f9eba
parent153e92089207b1a634f6b5b7b1daf24386c2be23
lavf/os_support: Only compile inet_aton() if getaddrinfo() is needed.

Silences a warning:
libavformat/os_support.c:49:12: warning: 'inet_aton' defined but not used

Reported-by: Reino Wijnsma
libavformat/os_support.c