summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbyte.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbyte.h b/mbyte.h
index 464085ac..1f25dc71 100644
--- a/mbyte.h
+++ b/mbyte.h
@@ -6,11 +6,13 @@ extern int Charset_is_utf8;
size_t utf8rtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *_ps);
+#ifndef HAVE_WC_FUNCS
int wctomb (char *s, wchar_t wc);
int mbtowc (wchar_t *pwc, const char *s, size_t n);
size_t mbrtowc (wchar_t *pwc, const char *s, size_t n, mbstate_t *ps);
int iswprint (wint_t wc);
int wcwidth (wchar_t wc);
+#endif /* !HAVE_WC_FUNCS */
wchar_t replacement_char (void);