diff options
author | Darren Tucker <dtucker@zip.com.au> | 2006-03-15 22:25:54 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2006-03-15 22:25:54 +1100 |
commit | dc6118e1272e91fd4faebde7b2ea85a36dd6f08d (patch) | |
tree | b4af3fdae524eb1c2e73eb9802b3707a4369ae3e /openbsd-compat/openbsd-compat.h | |
parent | b0024914c98f4e622e1d1ae0ecc67d3fe9dd9830 (diff) |
- (dtucker) [openbsd-compat/openbsd-compat.h] AIX (at least) needs
sys/ioctl.h for struct winsize.
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 9022c793f..432b183e7 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.34 2006/03/15 02:02:31 djm Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.35 2006/03/15 11:25:55 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -147,6 +147,7 @@ int asprintf(char **, const char *, ...); | |||
147 | #endif | 147 | #endif |
148 | 148 | ||
149 | #ifndef HAVE_OPENPTY | 149 | #ifndef HAVE_OPENPTY |
150 | # include <sys/ioctl.h> /* for struct winsize */ | ||
150 | int openpty(int *, int *, char *, struct termios *, struct winsize *); | 151 | int openpty(int *, int *, char *, struct termios *, struct winsize *); |
151 | #endif /* HAVE_OPENPTY */ | 152 | #endif /* HAVE_OPENPTY */ |
152 | 153 | ||