summaryrefslogtreecommitdiffstats
path: root/innbbsd/str_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'innbbsd/str_decode.c')
-rw-r--r--innbbsd/str_decode.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/innbbsd/str_decode.c b/innbbsd/str_decode.c
index 4da40bcf..72a1f225 100644
--- a/innbbsd/str_decode.c
+++ b/innbbsd/str_decode.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <errno.h>
#include <string.h>
+#include <ctype.h> /* isspace() */
#define USE_ICONV 1
/*
@@ -75,17 +76,19 @@ base64_code(int x)
/* judge & decode QP / BASE64 */
/* ----------------------------------------------------- */
-static inline int
+inline int
isreturn(unsigned char c)
{
return c == '\r' || c == '\n';
}
-static inline int
+#if 0 /* in glibc */
+inline int
isspace(unsigned char c)
{
return c == ' ' || c == '\t' || isreturn(c);
}
+#endif
/* static inline */
int