From df820722e40309c9b3f360ea4ed47a584ed74333 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Mon, 6 Jun 2016 11:36:13 +1000 Subject: Add compat bits to utf8.c. --- utf8.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'utf8.c') diff --git a/utf8.c b/utf8.c index 18ee5385..6445b376 100644 --- a/utf8.c +++ b/utf8.c @@ -20,6 +20,8 @@ * in particular to sanitize untrusted strings for terminal output. */ +#include "includes.h" + #include #include #include @@ -27,7 +29,9 @@ #include #include #include -#include +#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS) +# include +#endif #include #include "utf8.h" -- cgit v1.2.1