From: Andrew Deason Date: Mon, 20 Dec 2010 15:07:11 +0000 (-0500) Subject: LINUX24: Include linux/pagemap.h X-Git-Tag: upstream/1.6.0.pre2^2~175 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=656541447d9ae5da859550533a4b74766730dc49;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. Reviewed-on: http://gerrit.openafs.org/3553 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear (cherry picked from commit 6f65ace58d2c50313e307204c0e4a6408483a211) Change-Id: If290faf297c3c3267cd0969bbbc3036bae256f8e Reviewed-on: http://gerrit.openafs.org/3558 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/afs/sysincludes.h b/src/afs/sysincludes.h index a126fb644..56a1daa5c 100644 --- a/src/afs/sysincludes.h +++ b/src/afs/sysincludes.h @@ -186,6 +186,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)