Thread (1 message) 1 message, 1 author, 2015-10-15
STALE3933d

Revision v4 of 3 in this series.

Revisions (3)
  1. v03 [diff vs current]
  2. v4 current
  3. v05 [diff vs current]

[PATCH v4 56/79] include/uapi/linux/auto_fs.h: include linux/limits.h

From: Mikko Rapeli <hidden>
Date: 2015-10-15 06:34:30
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Fixes userspace compilation error:

error: ‘NAME_MAX’ undeclared here (not in a function)

Signed-off-by: Mikko Rapeli <redacted>
---
 include/uapi/linux/auto_fs.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/uapi/linux/auto_fs.h b/include/uapi/linux/auto_fs.h
index bb991df..edffdd5 100644
--- a/include/uapi/linux/auto_fs.h
+++ b/include/uapi/linux/auto_fs.h
@@ -15,6 +15,7 @@
 #define _UAPI_LINUX_AUTO_FS_H
 
 #include <linux/types.h>
+#include <linux/limits.h>
 #ifndef __KERNEL__
 #include <sys/ioctl.h>
 #endif /* __KERNEL__ */
-- 
2.5.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help