git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rwrap: If we do not have ns_name_compress() use dn_comp().
[sfrench/samba-autobuild/.git]
/
lib
/
resolv_wrapper
/
resolv_wrapper.c
diff --git
a/lib/resolv_wrapper/resolv_wrapper.c
b/lib/resolv_wrapper/resolv_wrapper.c
index 7211ad087a4bcb286a4cc162aee465d53748e849..c70ca64e92b7737e3cd5b972cd719fdb1352d20c 100644
(file)
--- a/
lib/resolv_wrapper/resolv_wrapper.c
+++ b/
lib/resolv_wrapper/resolv_wrapper.c
@@
-65,6
+65,10
@@
#define RWRAP_DEFAULT_FAKE_TTL 600
#endif /* RWRAP_DEFAULT_FAKE_TTL */
+#ifndef HAVE_NS_NAME_COMPRESS
+#define ns_name_compress dn_comp
+#endif
+
enum rwrap_dbglvl_e {
RWRAP_LOG_ERROR = 0,
RWRAP_LOG_WARN,