From: Derrick Brashear Date: Fri, 20 Mar 2009 22:45:20 +0000 (+0000) Subject: DEVEL15-aix51-pag-header-20090320 X-Git-Tag: openafs-devel-1_5_58~35 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=70572e538f2ab9c0f0446c5abbc41f86cde6d0a1 DEVEL15-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 f26c97d..9347d68 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1545,7 +1545,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 3387222..165e3fc 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 6a28cf3..a5ffdd2 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 4a66af8..7b67443 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 ffad855..457ed8e 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