From 51693efd9455ae1c928862c1b688ba03bcf5b021 Mon Sep 17 00:00:00 2001 From: dtucker Date: Fri, 6 Feb 2004 10:29:41 +0000 Subject: [PATCH] - (dtucker) [configure.ac includes.h] Include if present, required on Solaris 2.5.1 for queue_t, which is used by . --- ChangeLog | 2 ++ configure.ac | 2 +- includes.h | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 73ab2b8f..4af113ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,8 @@ - (dtucker) [openbsd-compat/port-aix.c openbsd-compat/port-aix.h] Bug #796: Restore previous authdb setting after auth calls. Fixes problems with setpcred failing on accounts that use AFS or NIS password registries. + - (dtucker) [configure.ac includes.h] Include if present, + required on Solaris 2.5.1 for queue_t, which is used by . - (dtucker) OpenBSD CVS Sync - markus@cvs.openbsd.org 2004/01/30 09:48:57 [auth-passwd.c auth.h pathnames.h session.c] diff --git a/configure.ac b/configure.ac index 7590219f..cdf9facb 100644 --- a/configure.ac +++ b/configure.ac @@ -494,7 +494,7 @@ AC_CHECK_HEADERS(bstring.h crypt.h endian.h features.h floatingpoint.h \ rpc/types.h security/pam_appl.h shadow.h stddef.h stdint.h \ strings.h sys/strtio.h sys/audit.h sys/bitypes.h sys/bsdtty.h \ sys/cdefs.h sys/mman.h sys/pstat.h sys/ptms.h sys/select.h sys/stat.h \ - sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ + sys/stream.h sys/stropts.h sys/sysmacros.h sys/time.h sys/timers.h \ sys/un.h time.h tmpdir.h ttyent.h usersec.h \ util.h utime.h utmp.h utmpx.h vis.h) diff --git a/includes.h b/includes.h index d2cc8821..ca943c7e 100644 --- a/includes.h +++ b/includes.h @@ -135,6 +135,9 @@ static /**/const char *const rcsid[] = { (char *)rcsid, "\100(#)" msg } #include /* for TIOCCBRK on HP-UX */ #endif #if defined(HAVE_SYS_PTMS_H) && defined(HAVE_DEV_PTMX) +# if defined(HAVE_SYS_STREAM_H) +# include /* reqd for queue_t on Solaris 2.5.1 */ +# endif #include /* for grantpt() and friends */ #endif -- 2.45.1