rwrap: If we do not have ns_name_compress() use dn_comp().
authorAndreas Schneider <asn@samba.org>
Mon, 12 Jan 2015 16:32:45 +0000 (17:32 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 13 Jan 2015 15:57:10 +0000 (16:57 +0100)
commit931dbb3202248547bad484667247793d190f7ab0
treeea2afbc0507a76a4e0848f1e653a924b702727f9
parenta2c1b8e07652d925771bad11e7f7dd962283439b
rwrap: If we do not have ns_name_compress() use dn_comp().

This should fix older Linux versions which do not export
ns_name_compress(). In newer glibc versions dn_comp() calls
ns_name_compress().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11019

Reviewed-by: Jakub Hrozek <jakub.hrozek@gmail.com>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/resolv_wrapper/resolv_wrapper.c
lib/resolv_wrapper/wscript