From 3e034dcb6cbb82ef78853a342bd2c459250e0bcd Mon Sep 17 00:00:00 2001 From: Derrick Brashear Date: Fri, 20 Mar 2009 22:44:54 +0000 Subject: [PATCH] aix51-pag-header-20090320 LICENSE IPL10 FIXES 124522 no sys/pag.h until 5.2 --- acinclude.m4 | 2 +- src/auth/ktc.c | 2 ++ src/pam/afs_util.c | 2 ++ src/sys/pagsh.c | 2 ++ src/tsm41/aix_aklog.c | 2 ++ 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 410e8004c..c544e6b54 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1513,7 +1513,7 @@ AC_HEADER_DIRENT AC_CHECK_HEADERS(stdlib.h string.h unistd.h poll.h fcntl.h sys/time.h sys/file.h) AC_CHECK_HEADERS(netinet/in.h netdb.h sys/fcntl.h sys/mnttab.h sys/mntent.h) AC_CHECK_HEADERS(mntent.h sys/vfs.h sys/param.h sys/fs_types.h sys/fstyp.h) -AC_CHECK_HEADERS(sys/mount.h strings.h termios.h signal.h poll.h) +AC_CHECK_HEADERS(sys/mount.h strings.h termios.h signal.h poll.h sys/pag.h) AC_CHECK_HEADERS(windows.h malloc.h winsock2.h direct.h io.h sys/user.h) AC_CHECK_HEADERS(security/pam_modules.h siad.h usersec.h ucontext.h regex.h values.h) AC_CHECK_HEADERS(linux/errqueue.h,,,[#include ]) diff --git a/src/auth/ktc.c b/src/auth/ktc.c index 3387222e2..165e3fccb 100644 --- a/src/auth/ktc.c +++ b/src/auth/ktc.c @@ -56,9 +56,11 @@ RCSID #include #ifdef AFS_AIX51_ENV #include +#ifdef HAVE_SYS_PAG_H #include #endif #endif +#endif #ifdef HAVE_UNISTD_H #include #endif diff --git a/src/pam/afs_util.c b/src/pam/afs_util.c index 6a28cf309..a5ffdd23d 100644 --- a/src/pam/afs_util.c +++ b/src/pam/afs_util.c @@ -21,8 +21,10 @@ #include #ifdef AFS_AIX51_ENV #include +#ifdef HAVE_SYS_PAG_H #include #endif +#endif RCSID ("$Header$"); diff --git a/src/sys/pagsh.c b/src/sys/pagsh.c index 4a66af8d2..7b674434c 100644 --- a/src/sys/pagsh.c +++ b/src/sys/pagsh.c @@ -17,7 +17,9 @@ RCSID #include #ifdef AFS_AIX51_ENV #include +#ifdef HAVE_SYS_PAG_H #include +#endif #include #endif #endif diff --git a/src/tsm41/aix_aklog.c b/src/tsm41/aix_aklog.c index 57ec844ea..e28ab9443 100644 --- a/src/tsm41/aix_aklog.c +++ b/src/tsm41/aix_aklog.c @@ -24,7 +24,9 @@ RCSID #include #include #include +#ifdef HAVE_SYS_PAG_H #include +#endif #include #include #include -- 2.39.5