diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:52:30 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-08-24 19:52:30 +1000 |
commit | f80f5ec81bf445d09034a2caff93bc3582cd87c3 (patch) | |
tree | cad1348bb4897e213619bfd7920fda3c68544f0b | |
parent | 450d2af2a3f07e46cc1490a0029a9f669dd60108 (diff) |
- (dtucker) [openbsd-compat/bsd-openpty.c] Include for ioctl(2).
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | openbsd-compat/bsd-openpty.c | 3 |
2 files changed, 5 insertions, 1 deletions
@@ -4,6 +4,7 @@ older systems. - (dtucker) [openbsd-compat/bsd-misc.c] Include <sys/select.h> for select(2) on POSIX systems. + - (dtucker) [openbsd-compat/bsd-openpty.c] Include for ioctl(2). 20060822 - (dtucker) [Makefile.in] Bug #1177: fix incorrect path for sshrc in @@ -5295,4 +5296,4 @@ - (djm) Trim deprecated options from INSTALL. Mention UsePAM - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu -$Id: ChangeLog,v 1.4507 2006/08/24 09:45:33 dtucker Exp $ +$Id: ChangeLog,v 1.4508 2006/08/24 09:52:30 dtucker Exp $ diff --git a/openbsd-compat/bsd-openpty.c b/openbsd-compat/bsd-openpty.c index c0cde6b1..9777eb55 100644 --- a/openbsd-compat/bsd-openpty.c +++ b/openbsd-compat/bsd-openpty.c @@ -42,6 +42,9 @@ #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif +#ifdef HAVE_SYS_IOCTL_H +# include <sys/ioctl.h> +#endif #ifdef HAVE_FCNTL_H # include <fcntl.h> |