pkgsrc/security/openssh/patches/patch-sftp-common.c
jperkin 13ff0e954c Explicitly disable roaming, as per CVE-2016-0777 and CVE-2016-0778.
Fix patch dates and offsets while here.  Bump PKGREVISION.
2016-01-18 12:53:25 +00:00

16 lines
360 B
C

$NetBSD: patch-sftp-common.c,v 1.4 2016/01/18 12:53:26 jperkin Exp $
Include <unistd.h> for strmode(3).
--- sftp-common.c.orig 2015-08-21 04:49:03.000000000 +0000
+++ sftp-common.c
@@ -37,6 +37,9 @@
#include <string.h>
#include <time.h>
#include <stdarg.h>
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
#ifdef HAVE_UTIL_H
#include <util.h>
#endif