From 6c9da55f65da0515fcfead0fcfe02604ec735e58 Mon Sep 17 00:00:00 2001 From: Andrew Vagin Date: Tue, 22 Mar 2016 04:46:00 +0300 Subject: [PATCH] autofs: include limit.h before auto_fs.h MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In file included from /home/travis/build/xemul/criu/criu/include/autofs.h:16:0, from autofs.c:7: /usr/include/linux/auto_fs.h:54:12: error: ‘NAME_MAX’ undeclared here (not in a function) char name[NAME_MAX+1]; In file included from /home/travis/build/xemul/criu/criu/include/autofs.h:16:0, from autofs.c:7: /usr/include/linux/auto_fs.h:54:12: error: ‘NAME_MAX’ undeclared here (not in a function) char name[NAME_MAX+1]; Signed-off-by: Andrew Vagin Signed-off-by: Pavel Emelyanov --- criu/include/autofs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/criu/include/autofs.h b/criu/include/autofs.h index 4c84b7030..f7df6ab5a 100644 --- a/criu/include/autofs.h +++ b/criu/include/autofs.h @@ -13,6 +13,7 @@ int autofs_dump(struct mount_info *pm); int autofs_mount(struct mount_info *mi, const char *source, const char *filesystemtype, unsigned long mountflags); +#include #include #include