diff options
Diffstat (limited to 'bsd-base64.c')
-rw-r--r-- | bsd-base64.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bsd-base64.c b/bsd-base64.c index 57a95736..8cbf8eee 100644 --- a/bsd-base64.c +++ b/bsd-base64.c @@ -44,7 +44,7 @@ #include "config.h" -#ifndef HAVE_B64_NTOP +#if !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) #include <sys/types.h> #include <sys/param.h> @@ -53,12 +53,13 @@ #include <arpa/inet.h> #include <ctype.h> -#include <resolv.h> #include <stdio.h> #include <stdlib.h> #include <string.h> +#include "bsd-base64.h" + #define Assert(Cond) if (!(Cond)) abort() static const char Base64[] = @@ -312,4 +313,4 @@ b64_pton(char const *src, u_char *target, size_t targsize) return (tarindex); } -#endif /* HAVE_B64_NTOP */ +#endif /* !defined(HAVE_B64_NTOP) && !defined(HAVE___B64_NTOP) */ |