diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 17:51:45 +0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-25 17:51:45 +0400 |
commit | 997b7af2fe0810ca82a2f801a295218b51426e5a (patch) | |
tree | 06803bb0fcf2b910c4a222f0ce0b575cf23b90f7 /include/linux/nfs.h | |
parent | eacf17bdbc8e6f24fe46cd7e10fb9a657f060d08 (diff) | |
download | linux-997b7af2fe0810ca82a2f801a295218b51426e5a.tar.xz |
Don't include private headers from user-visible parts of include/linux/nfs*.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/nfs.h')
-rw-r--r-- | include/linux/nfs.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/nfs.h b/include/linux/nfs.h index ca2ffa6ae1d5..54af92c1c70b 100644 --- a/include/linux/nfs.h +++ b/include/linux/nfs.h @@ -7,9 +7,6 @@ #ifndef _LINUX_NFS_H #define _LINUX_NFS_H -#include <linux/sunrpc/msg_prot.h> -#include <linux/string.h> - #define NFS_PROGRAM 100003 #define NFS_PORT 2049 #define NFS_MAXDATA 8192 @@ -129,7 +126,10 @@ enum nfs_ftype { NFFIFO = 8 }; -#if defined(__KERNEL__) +#ifdef __KERNEL__ +#include <linux/sunrpc/msg_prot.h> +#include <linux/string.h> + /* * This is the kernel NFS client file handle representation */ |