summaryrefslogtreecommitdiff
path: root/scp.c
diff options
context:
space:
mode:
authordjm <djm>2013-03-20 01:55:14 +0000
committerdjm <djm>2013-03-20 01:55:14 +0000
commitd21780a80d579df4477f0ef65f1c53cdfc30cf34 (patch)
treecf663701741c240d1643f310e72f2ede414a00b4 /scp.c
parenta498762e7184096837c5e756dc5a6e27ef341dae (diff)
downloadopenssh-d21780a80d579df4477f0ef65f1c53cdfc30cf34.tar.gz
- (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 'scp.c')
-rw-r--r--scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scp.c b/scp.c
index 08587b5f..645d7403 100644
--- a/scp.c
+++ b/scp.c
@@ -103,7 +103,7 @@
#include <string.h>
#include <time.h>
#include <unistd.h>
-#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H)
+#if defined(HAVE_STRNVIS) && defined(HAVE_VIS_H) && !defined(BROKEN_STRNVIS)
#include <vis.h>
#endif