Linux NFS development
 help / color / mirror / Atom feed
* [PATCH] nfs: add missing linux/types.h
@ 2015-10-20 19:18 Peng Tao
  0 siblings, 0 replies; only message in thread
From: Peng Tao @ 2015-10-20 19:18 UTC (permalink / raw)
  To: linux-nfs; +Cc: Trond Myklebust, Peng Tao

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>
---
 include/uapi/linux/nfs.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/uapi/linux/nfs.h b/include/uapi/linux/nfs.h
index c6b86cc..654bae3 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
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-20 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-20 19:18 [PATCH] nfs: add missing linux/types.h Peng Tao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox