From: Andrew Morton fs/autofs4/dev-ioctl.c: In function 'autofs_dev_ioctl_fd_install': fs/autofs4/dev-ioctl.c:272: error: dereferencing pointer to incomplete type fs/autofs4/dev-ioctl.c:273: error: implicit declaration of function 'files_fdtable' fs/autofs4/dev-ioctl.c:273: warning: assignment makes pointer from integer without a cast fs/autofs4/dev-ioctl.c:274: error: dereferencing pointer to incomplete type fs/autofs4/dev-ioctl.c:275: error: dereferencing pointer to incomplete type fs/autofs4/dev-ioctl.c:276: error: dereferencing pointer to incomplete type fs/autofs4/dev-ioctl.c:277: error: dereferencing pointer to incomplete type fs/autofs4/dev-ioctl.c:276: error: invalid lvalue in asm output 0 fs/autofs4/dev-ioctl.c:276: error: memory input 2 is not directly addressable Cc: Ian Kent Signed-off-by: Andrew Morton --- fs/autofs4/dev-ioctl.c | 1 + 1 file changed, 1 insertion(+) diff -puN fs/autofs4/dev-ioctl.c~autofs4-add-miscellaneous-device-for-ioctls-fix-2 fs/autofs4/dev-ioctl.c --- a/fs/autofs4/dev-ioctl.c~autofs4-add-miscellaneous-device-for-ioctls-fix-2 +++ a/fs/autofs4/dev-ioctl.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include _