summaryrefslogtreecommitdiffstats
path: root/openbsd-compat/vis.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2013-03-20 12:55:14 +1100
committerDamien Miller <djm@mindrot.org>2013-03-20 12:55:14 +1100
commit63b4bcd04e1c57b77eabb4e4d359508a4b2af685 (patch)
tree751bcf38b2b4d26e7b69df583b08ef969fb04548 /openbsd-compat/vis.c
parentaa86c3970f24fc22185a9561ae84eeae0c6d15cd (diff)
- (djm) [configure.ac log.c scp.c sshconnect2.c openbsd-compat/vis.c]
[openbsd-compat/vis.h] FreeBSD's strnvis isn't compatible with OpenBSD's so mark it as broken. Patch from des AT des.no
Diffstat (limited to 'openbsd-compat/vis.c')
-rw-r--r--openbsd-compat/vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd-compat/vis.c b/openbsd-compat/vis.c
index 3a087b34..f6f5665c 100644
--- a/openbsd-compat/vis.c
+++ b/openbsd-compat/vis.c
@@ -31,7 +31,7 @@
/* OPENBSD ORIGINAL: lib/libc/gen/vis.c */
#include "includes.h"
-#if !defined(HAVE_STRNVIS)
+#if !defined(HAVE_STRNVIS) || defined(BROKEN_STRNVIS)
#include <ctype.h>
#include <string.h>