summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2017-01-22 19:12:15 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2017-01-22 19:12:15 +0000
commitacf331f7f138217c59c09d58ac5f16220b1c8924 (patch)
tree393508076eaa110f5f54c15dab8f369cec0fad92 /compat.h
parent61af9d7cc27f9999e4f6e3dab9f786a074a97dee (diff)
Add b64_pton as well.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h6
1 files changed, 4 insertions, 2 deletions
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