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 <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
This commit is contained in:
Andrew Deason 2010-12-20 10:07:11 -05:00 committed by Derrick Brashear
parent 4f89d4ad34
commit 6f65ace58d

View File

@ -179,6 +179,9 @@ struct xfs_inode_info {
# if defined(HAVE_LINUX_EXPORTFS_H)
# include <linux/exportfs.h>
# endif
# ifdef AFS_LINUX24_ENV
# include <linux/pagemap.h>
# endif
#else /* AFS_LINUX22_ENV */
# if defined(AFS_DARWIN_ENV)