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>
Please register or sign in to comment