From: Derrick Brashear Date: Fri, 20 Mar 2009 22:45:35 +0000 (+0000) Subject: STABLE14-aix51-pag-header-20090320 X-Git-Tag: openafs-stable-1_4_9pre1~9 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=f3933e252bc8242c3b0cb5f788a45304a92dbaf6;p=packages%2Fo%2Fopenafs.git STABLE14-aix51-pag-header-20090320 LICENSE IPL10 FIXES 124522 no sys/pag.h until 5.2 (cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd) --- diff --git a/acinclude.m4 b/acinclude.m4 index 33a0f3e22..9402d8592 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1326,7 +1326,7 @@ AC_HEADER_DIRENT AC_CHECK_HEADERS(stdlib.h string.h unistd.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) diff --git a/src/auth/ktc.c b/src/auth/ktc.c index b2d1831ef..8c4360d7a 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 4ab863623..39bcde566 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 ffad8550f..457ed8e79 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