summaryrefslogtreecommitdiffstats
path: root/includes.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-06 11:29:41 +0100
committerDarren Tucker <dtucker@zip.com.au>2004-02-06 11:29:41 +0100
commit074593538a18780c24ac055210f55abd8adfbf2b (patch)
treea3982c132e0b0280b7da4f2f3af008946864e34d /includes.h
parent - markus@cvs.openbsd.org 2004/02/05 15:33:33 (diff)
downloadopenssh-074593538a18780c24ac055210f55abd8adfbf2b.tar.xz
openssh-074593538a18780c24ac055210f55abd8adfbf2b.zip
- (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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes.h b/includes.h
index d2cc88213..ca943c7e6 100644
--- a/includes.h
+++ b/includes.h
@@ -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