summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorPeng Tao <tao.peng@primarydata.com>2015-10-20 21:18:16 +0200
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-10-21 22:41:34 +0200
commitb9788a446828703cf126dfb9d3843d240af44122 (patch)
tree44da66fb326bd96f100a2ec9579b56bef1698616 /include/uapi
parentNFS: Fix an 'unused variable' complaint when #ifndef CONFIG_NFS_V4_2 (diff)
downloadlinux-b9788a446828703cf126dfb9d3843d240af44122.tar.xz
linux-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