summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2015-10-21 03:18:16 +0800
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-10-21 15:41:34 -0500
commitb9788a446828703cf126dfb9d3843d240af44122 (patch)
tree44da66fb326bd96f100a2ec9579b56bef1698616 /include/uapi
parent275058a2188903786e42b380ea5889ef0a7cdf95 (diff)
downloadlinux-stable-b9788a446828703cf126dfb9d3843d240af44122.tar.gz
linux-stable-b9788a446828703cf126dfb9d3843d240af44122.tar.bz2
linux-stable-b9788a446828703cf126dfb9d3843d240af44122.zip
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>
Diffstat (limited to 'include/uapi')
-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 @@
#ifndef _UAPI_LINUX_NFS_H
#define _UAPI_LINUX_NFS_H
+#include <linux/types.h>
+
#define NFS_PROGRAM 100003
#define NFS_PORT 2049
#define NFS_MAXDATA 8192