summaryrefslogtreecommitdiff
path: root/includes.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2004-02-06 21:29:41 +1100
committerDarren Tucker <dtucker@zip.com.au>2004-02-06 21:29:41 +1100
commit074593538a18780c24ac055210f55abd8adfbf2b (patch)
treea3982c132e0b0280b7da4f2f3af008946864e34d /includes.h
parent7f73a4955d289236119fb332f73c493d9ed85035 (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.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 }
135#include <sys/strtio.h> /* for TIOCCBRK on HP-UX */ 135#include <sys/strtio.h> /* for TIOCCBRK on HP-UX */
136#endif 136#endif
137#if defined(HAVE_SYS_PTMS_H) && defined(HAVE_DEV_PTMX) 137#if defined(HAVE_SYS_PTMS_H) && defined(HAVE_DEV_PTMX)
138# if defined(HAVE_SYS_STREAM_H)
139# include <sys/stream.h> /* reqd for queue_t on Solaris 2.5.1 */
140# endif
138#include <sys/ptms.h> /* for grantpt() and friends */ 141#include <sys/ptms.h> /* for grantpt() and friends */
139#endif 142#endif
140 143