+2016-09-21 Florian Weimer <fweimer@redhat.com>
+
+ Remove the always-defined BIND_4_COMPAT macro.
+ * resolv/arpa/nameser.h: Unconditionally include
+ <arpa/nameser_compat.h>.
+ (BIND_4_COMPAT): Remove.
+ * resolv/res_comp.c: Do not check BIND_4_COMPAT.
+
2016-09-21 Florian Weimer <fweimer@redhat.com>
[BZ #20591]
#ifndef _ARPA_NAMESER_H_
#define _ARPA_NAMESER_H_
-/*! \file */
-
-#define BIND_4_COMPAT
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/cdefs.h>
int ns_samename (const char *, const char *) __THROW;
__END_DECLS
-#ifdef BIND_4_COMPAT
#include <arpa/nameser_compat.h>
-#endif
#endif /* !_ARPA_NAMESER_H_ */
/*! \file */
}
libresolv_hidden_def (res_dnok)
-#ifdef BIND_4_COMPAT
/*
* This module must export the following externally-visible symbols:
* ___putlong
libresolv_hidden_def (__putshort)
u_int32_t _getlong(const u_char *src) { return (ns_get32(src)); }
u_int16_t _getshort(const u_char *src) { return (ns_get16(src)); }
-#endif /*BIND_4_COMPAT*/
\f
#include <shlib-compat.h>