[openssh-commits] [openssh] 10/10: Add compat bits to utf8.c.

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jun 6 11:37:05 AEST 2016


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit df820722e40309c9b3f360ea4ed47a584ed74333
Author: Darren Tucker <dtucker at zip.com.au>
Date:   Mon Jun 6 11:36:13 2016 +1000

    Add compat bits to utf8.c.
---
 utf8.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/utf8.c b/utf8.c
index 18ee538..6445b37 100644
--- a/utf8.c
+++ b/utf8.c
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list