From 8f83473581974a3c9b597f018c7415baeeeef4ff Mon Sep 17 00:00:00 2001 From: Michal Bielicki - cypromis Date: Wed, 31 Aug 2011 20:33:55 +0200 Subject: [PATCH] fix of ldns for solaris and probably other platforms that actualy have b64_pton, thanks to math for the help --- libs/ldns/ldns/config.h.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libs/ldns/ldns/config.h.in b/libs/ldns/ldns/config.h.in index 473f1ff7c5..81783db33b 100644 --- a/libs/ldns/ldns/config.h.in +++ b/libs/ldns/ldns/config.h.in @@ -467,4 +467,10 @@ size_t strlcpy(char *dst, const char *src, size_t siz); #ifndef HAVE_STRTOUL #define strtoul (unsigned long)strtol #endif +#ifdef HAVE_B64_PTON +#define ldns_b64_pton b64_pton +#endif +#ifdef HAVE_B64_NTOP +#define ldns_b64_ntop b64_ntop +#endif