staging: lustre: fix more build errors in errno.c

And we need even more .h files to be included to build this file.  So
add kernel.h and module.h, and hopefully that's enough...

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 0922c0084b ("staging: lustre: remove libcfs_all from ptlrpc")
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2018-05-26 11:34:25 +02:00
parent 3c24e170d4
commit 7a5abc3d96

View File

@ -27,6 +27,8 @@
*/
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <lustre_errno.h>
/*