summaryrefslogtreecommitdiff
path: root/security/ssh2/patches/patch-ag
blob: 1c5845ebc8fab4f1eec11fc7a03307f36ecf0411 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-ag,v 1.1.1.1 2002/08/06 00:48:14 seb Exp $

--- lib/sshsession/pty-openpty.c.orig	Thu May 16 10:32:17 2002
+++ lib/sshsession/pty-openpty.c
@@ -18,6 +18,9 @@ and BSD 4.4.
 #ifdef HAVE_PTY_H
 #include <pty.h>
 #endif /* HAVE_PTY_H */
+#ifdef HAVE_UTIL_H
+#include <util.h>
+#endif /* HAVE_UTIL_H */
 
 /* Allocates a pty using a machine-specific method, and returns the
    master side pty in *ptyfd, the child side in *ttyfd, and the name of the