nwrap: Add BSD libc support for gethost*_r functios.
authorRobin Hack <hack.robin@gmail.com>
Fri, 27 Mar 2015 14:51:11 +0000 (15:51 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:28 +0000 (12:25 +0100)
commit1017031a295512e50c8aa8fe6d60be06efc0f368
tree47155c6fc60eb306bde981a624d9c2d55ec40cd4
parent960345e617301f2695c9090a6a0feae3fd362c9f
nwrap: Add BSD libc support for gethost*_r functios.

BSD libc stores data in thread local storage.

Signed-off-by: Robin Hack <hack.robin@gmail.com>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/nss_wrapper/nss_wrapper.c