summaryrefslogtreecommitdiffstats
path: root/compat.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-07-22 10:49:33 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-07-22 10:49:33 +0000
commit20134fa9f4401aecc09b38e7733385868e2837c5 (patch)
tree16b13b1be2e8264656e7a861df41fcf3af88c991 /compat.h
parent1f01dd8c0a33804a322e11fca4b00c89528aa92e (diff)
Compatibility for b64_ntop, missing from some alternative libc.
Diffstat (limited to 'compat.h')
-rw-r--r--compat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/compat.h b/compat.h
index ff7a3267..837287b0 100644
--- a/compat.h
+++ b/compat.h
@@ -196,6 +196,11 @@ size_t strlcat(char *, const char *, size_t);
int daemon(int, int);
#endif
+#ifndef HAVE_B64NTOP
+/* b64_ntop.c */
+int b64_ntop(const char *, size_t, char *, size_t);
+#endif
+
#ifndef HAVE_FORKPTY
/* forkpty.c */
#include <sys/ioctl.h>