nfs: add missing linux/types.h
authorPeng Tao <tao.peng@primarydata.com>
Tue, 20 Oct 2015 19:18:16 +0000 (03:18 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 21 Oct 2015 20:41:34 +0000 (15:41 -0500)
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>
include/uapi/linux/nfs.h

index c6b86cc404f8f1334d6c4a3f6a9baff67733d240..654bae3f1a389a4fcff05ba6098fcdd6d6b3204a 100644 (file)
@@ -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