src: os2: move gai_strerror() to compat
authorKO Myung-Hun <komh78@gmail.com>
Wed, 16 Dec 2015 23:38:20 +0000 (08:38 +0900)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 17 Dec 2015 21:38:36 +0000 (23:38 +0200)
commitc84a1a1abaf74a2ba58d7a4a5b2ba15973f9fe41
tree0499a08ebf474fb549d999edef7731c35ff33dd8
parent934231ee820115e62e57a8491f38a7e6a6725055
src: os2: move gai_strerror() to compat

This fixes the following linkage error.

-----
  CCLD     libhttps_plugin.la
weakld: error: Unresolved symbol (UNDEF) '_gai_strerror'.
weakld: info: The symbol is referenced by:
    P:\tmp\ldconv_libvlc_http_la-transport_o_64fd5671f455159d80.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: _gai_strerror is an undefined reference
file P:/tmp\ldconv_libvlc_http_la-transport_o_64fd5671f455159d80.obj(ldconv_libvlc_http_la-transport_o_64fd5671f455159d80.obj): undefined symbol _gai_strerror
make.exe[4]: *** [libhttps_plugin.la] Error 1
-----

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
compat/gai_strerror.c [new file with mode: 0644]
configure.ac
src/os2/getaddrinfo.c