- (djm) [sshconnect2.c] vis.h isn't available everywhere
diff --git a/ChangeLog b/ChangeLog
index a0c319f..19f075f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -9,7 +9,8 @@
report and patch from res AT qoxp.net (bz#1200); ok markus@
- (dtucker) [openbsd-compat/bsd-cygwin_util.c] Remove long-unneeded compat
code, replace with equivalent cygwin library call. Patch from vinschen
- at redhat.comi, ok djm@.
+ at redhat.com, ok djm@.
+ - (djm) [sshconnect2.c] vis.h isn't available everywhere
20080716
- OpenBSD CVS Sync
@@ -4697,4 +4698,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.5090 2008/07/17 09:03:49 dtucker Exp $
+$Id: ChangeLog,v 1.5091 2008/07/17 09:15:43 djm Exp $
diff --git a/sshconnect2.c b/sshconnect2.c
index 067fad5..389bec9 100644
--- a/sshconnect2.c
+++ b/sshconnect2.c
@@ -38,7 +38,9 @@
#include <stdio.h>
#include <string.h>
#include <unistd.h>
+#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H)
#include <vis.h>
+#endif
#include "openbsd-compat/sys-queue.h"