mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
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:
parent
4f89d4ad34
commit
6f65ace58d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user