rwrap: If we do not have ns_name_compress() use dn_comp().
[sfrench/samba-autobuild/.git] / lib / resolv_wrapper / resolv_wrapper.c
index 7211ad087a4bcb286a4cc162aee465d53748e849..c70ca64e92b7737e3cd5b972cd719fdb1352d20c 100644 (file)
 #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,