diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-02-06 21:29:41 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-02-06 21:29:41 +1100 |
commit | 074593538a18780c24ac055210f55abd8adfbf2b (patch) | |
tree | a3982c132e0b0280b7da4f2f3af008946864e34d /includes.h | |
parent | 7f73a4955d289236119fb332f73c493d9ed85035 (diff) |
- (dtucker) [configure.ac includes.h] Include <sys/stream.h> if present,
required on Solaris 2.5.1 for queue_t, which is used by <sys/ptms.h>.
Diffstat (limited to 'includes.h')
-rw-r--r-- | includes.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -135,6 +135,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include <sys/strtio.h> /* for TIOCCBRK on HP-UX */ #endif #if defined(HAVE_SYS_PTMS_H) && defined(HAVE_DEV_PTMX) +# if defined(HAVE_SYS_STREAM_H) +# include <sys/stream.h> /* reqd for queue_t on Solaris 2.5.1 */ +# endif #include <sys/ptms.h> /* for grantpt() and friends */ #endif |