Skip to contentSkip to conversation

nfs: add missing linux/types.h

PATCH New Peng Tao 1 participant 1 message Oct 20, 2015

Subsystems (2)
lore
Share & tools
lore

Peng Tao

author
#0 lore raw

PATCH 1/1 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>

---
 include/uapi/linux/nfs.h | 2 ++
 1 file changed, 2 insertions(+)
include/uapi/linux/nfs.h +2 -0
index c6b86cc..654bae3 100644
@@ -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
Signature · 1 line
1.8.3.1