From 6f65ace58d2c50313e307204c0e4a6408483a211 Mon Sep 17 00:00:00 2001 From: Andrew Deason Date: Mon, 20 Dec 2010 10:07:11 -0500 Subject: [PATCH] LINUX24: Include linux/pagemap.h For 2.4 Linux we need to include linux/pagemap.h, otherwise we get undeclared references to KM_USER0 and PAGE_CACHE_SIZE. Change-Id: I1bd6c6484a9b46f923fa31d1d45fbfedc243abbd Reviewed-on: http://gerrit.openafs.org/3553 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- src/afs/sysincludes.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/afs/sysincludes.h b/src/afs/sysincludes.h index 35e523d0f9..5e8ae9c371 100644 --- a/src/afs/sysincludes.h +++ b/src/afs/sysincludes.h @@ -179,6 +179,9 @@ struct xfs_inode_info { # if defined(HAVE_LINUX_EXPORTFS_H) # include # endif +# ifdef AFS_LINUX24_ENV +# include +# endif #else /* AFS_LINUX22_ENV */ # if defined(AFS_DARWIN_ENV)