aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2015-10-20 15:18:16 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-10-21 16:41:34 -0400
commitb9788a446828703cf126dfb9d3843d240af44122 (patch)
tree44da66fb326bd96f100a2ec9579b56bef1698616
parent275058a2188903786e42b380ea5889ef0a7cdf95 (diff)
nfs: add missing linux/types.h
After merging the nfs tree, today's linux-next build (powerpc allyesconfig produced this warning: ./usr/include/linux/nfs.h:40: found __[us]{8,16,32,64} type without #include <linux/types.h> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Peng Tao <tao.peng@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
-rw-r--r--include/uapi/linux/nfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/nfs.h b/include/uapi/linux/nfs.h
index c6b86cc404f8..654bae3f1a38 100644
--- a/include/uapi/linux/nfs.h
+++ b/include/uapi/linux/nfs.h
@@ -7,6 +7,8 @@
7#ifndef _UAPI_LINUX_NFS_H 7#ifndef _UAPI_LINUX_NFS_H
8#define _UAPI_LINUX_NFS_H 8#define _UAPI_LINUX_NFS_H
9 9
10#include <linux/types.h>
11
10#define NFS_PROGRAM 100003 12#define NFS_PROGRAM 100003
11#define NFS_PORT 2049 13#define NFS_PORT 2049
12#define NFS_MAXDATA 8192 14#define NFS_MAXDATA 8192