]> andersk Git - openssh.git/blobdiff - bsd-base64.c
- (djm) CVS OpenBSD sync:
[openssh.git] / bsd-base64.c
index 57a957364b46c1c33a7a111c89af29f5ebc11339..8cbf8eeef0f1fe2c0a7740e7abb4c2322f502abb 100644 (file)
@@ -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>
 #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) */
This page took 0.02781 seconds and 4 git commands to generate.