From: Cedric Le Goater Date: Wed, 4 Oct 2006 09:16:21 +0000 (-0700) Subject: [PATCH] Fix linux/nfsd/const.h for make headers_check X-Git-Tag: v2.6.19-rc1~94 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7aa2638f288f4c67acdb55947472740bd27d27a;p=linux-2.6 [PATCH] Fix linux/nfsd/const.h for make headers_check make headers_check fails on linux/nfsd/const.h. Since linux/sunrpc/msg_prot.h does not seem to export anything interesting for userspace, this patch moves it in the __KERNEL__ protected section. Signed-off-by: Cedric Le Goater Cc: David Woodhouse Cc: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/nfsd/const.h b/include/linux/nfsd/const.h index f478066f9c..f0cc777905 100644 --- a/include/linux/nfsd/const.h +++ b/include/linux/nfsd/const.h @@ -13,7 +13,6 @@ #include #include #include -#include /* * Maximum protocol version supported by knfsd @@ -29,6 +28,8 @@ #ifdef __KERNEL__ +#include + #ifndef NFS_SUPER_MAGIC # define NFS_SUPER_MAGIC 0x6969 #endif