From: Andrew Deason Date: Mon, 20 Dec 2010 15:07:11 +0000 (-0500) Subject: LINUX24: Include linux/pagemap.h X-Git-Tag: upstream/1.8.0_pre1^2~4354 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=6f65ace58d2c50313e307204c0e4a6408483a211;p=packages%2Fo%2Fopenafs.git 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 --- diff --git a/src/afs/sysincludes.h b/src/afs/sysincludes.h index 35e523d0f..5e8ae9c37 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)