On Mon, 2016-08-22 at 20:32 +0200, Mikko Rapeli wrote: > Fixes userspace compilation error: > > error: ‘NAME_MAX’ undeclared here (not in a function)
Thanks for your effort but a patch for this, from from Tomohiro Kusumi, is currently included in the mm tree. > > Signed-off-by: Mikko Rapeli <mikko.rap...@iki.fi> > --- > 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 9175a1b..1bfc3ed 100644 > --- a/include/uapi/linux/auto_fs.h > +++ b/include/uapi/linux/auto_fs.h > @@ -12,6 +12,7 @@ > #define _UAPI_LINUX_AUTO_FS_H > > #include <linux/types.h> > +#include <linux/limits.h> > #ifndef __KERNEL__ > #include <sys/ioctl.h> > #endif /* __KERNEL__ */