From acf331f7f138217c59c09d58ac5f16220b1c8924 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 22 Jan 2017 19:12:15 +0000 Subject: Add b64_pton as well. --- compat.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'compat.h') diff --git a/compat.h b/compat.h index f5275223..e1e11ec6 100644 --- a/compat.h +++ b/compat.h @@ -242,9 +242,11 @@ void setproctitle(const char *, ...); #endif #ifndef HAVE_B64_NTOP -/* b64_ntop.c */ -#undef b64_ntop /* for Cygwin */ +/* base64.c */ +#undef b64_ntop +#undef b64_pton int b64_ntop(const char *, size_t, char *, size_t); +int b64_pton(const char *, u_char *, size_t); #endif #ifndef HAVE_FORKPTY -- cgit v1.2.3