DEVEL15-aix51-pag-header-20090320
authorDerrick Brashear <shadow@dementia.org>
Fri, 20 Mar 2009 22:45:20 +0000 (22:45 +0000)
committerDerrick Brashear <shadow@dementia.org>
Fri, 20 Mar 2009 22:45:20 +0000 (22:45 +0000)
LICENSE IPL10
FIXES 124522

no sys/pag.h until 5.2

(cherry picked from commit 3e034dcb6cbb82ef78853a342bd2c459250e0bcd)

acinclude.m4
src/auth/ktc.c
src/pam/afs_util.c
src/sys/pagsh.c
src/tsm41/aix_aklog.c

index f26c97d..9347d68 100644 (file)
@@ -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 <linux/types.h>])
index 3387222..165e3fc 100644 (file)
@@ -56,9 +56,11 @@ RCSID
 #include <sys/lockf.h>
 #ifdef AFS_AIX51_ENV
 #include <sys/cred.h>
+#ifdef HAVE_SYS_PAG_H
 #include <sys/pag.h>
 #endif
 #endif
+#endif
 #ifdef HAVE_UNISTD_H
 #include <unistd.h>
 #endif
index 6a28cf3..a5ffdd2 100644 (file)
 #include <stdlib.h>
 #ifdef AFS_AIX51_ENV
 #include <sys/cred.h>
+#ifdef HAVE_SYS_PAG_H
 #include <sys/pag.h>
 #endif
+#endif
 
 RCSID
     ("$Header$");
index 4a66af8..7b67443 100644 (file)
@@ -17,7 +17,9 @@ RCSID
 #include <signal.h>
 #ifdef AFS_AIX51_ENV
 #include <sys/cred.h>
+#ifdef HAVE_SYS_PAG_H
 #include <sys/pag.h>
+#endif
 #include <errno.h>
 #endif
 #endif
index ffad855..457ed8e 100644 (file)
@@ -24,7 +24,9 @@ RCSID
 #include <netdb.h>
 #include <sys/socket.h>
 #include <sys/file.h>
+#ifdef HAVE_SYS_PAG_H
 #include <sys/pag.h>
+#endif
 #include <errno.h>
 #include <usersec.h>
 #include <syslog.h>