diff options
author | Darren Tucker <dtucker@zip.com.au> | 2016-06-06 11:36:13 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2016-06-06 11:36:13 +1000 |
commit | df820722e40309c9b3f360ea4ed47a584ed74333 (patch) | |
tree | 92376d3b8643310ea04e4124531c4f1ad04d38fb /utf8.c | |
parent | 05c6574652571becfe9d924226c967a3f4b3f879 (diff) | |
download | openssh-git-df820722e40309c9b3f360ea4ed47a584ed74333.tar.gz |
Add compat bits to utf8.c.
Diffstat (limited to 'utf8.c')
-rw-r--r-- | utf8.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -20,6 +20,8 @@ * in particular to sanitize untrusted strings for terminal output. */ +#include "includes.h" + #include <sys/types.h> #include <langinfo.h> #include <limits.h> @@ -27,7 +29,9 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <vis.h> +#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS) +# include <vis.h> +#endif #include <wchar.h> #include "utf8.h" |