configure: check and define if_nametoindex() on OS/2
commitebcbb4d84e9207662d2bfc4e7fdf668d95caffd3
authorKO Myung-Hun <komh78@gmail.com>
Mon, 1 Jan 2018 14:30:02 +0000 (1 23:30 +0900)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Mon, 8 Jan 2018 09:23:59 +0000 (8 10:23 +0100)
tree130fe734efda6c47d342abb915372cbf0cfc410d
parentee6c9833cb0c0875910e5b7a87052789f0959947
configure: check and define if_nametoindex() on OS/2

This fixes the following compilation breakge on OS/2.

-----
  CC       network/udp.lo
network/udp.c: In function 'net_SetMcastOut':
network/udp.c:259:17: error: implicit declaration of function 'if_nametoindex'; did you mean 'if_nameindex'? [-Werror=implicit-function-declaration]
     int scope = if_nametoindex (iface);
                 ^~~~~~~~~~~~~~
                 if_nameindex
-----

Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
configure.ac
include/vlc_fixups.h