staging: lustre: fix build error in errno.c
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 07:01:03 +0000 (09:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 26 May 2018 07:01:03 +0000 (09:01 +0200)
Turns out we need some more .h files to build properly on all arches.
Specifically errno.h for this file.

Reported-by: kbuild test robot <lkp@intel.com>
Fixes: 0922c0084b91 ("staging: lustre: remove libcfs_all from ptlrpc")
Cc: NeilBrown <neilb@suse.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/ptlrpc/errno.c

index c587fc8..e443150 100644 (file)
@@ -26,6 +26,7 @@
  * Copyright (c) 2013, Intel Corporation.
  */
 
+#include <linux/errno.h>
 #include <lustre_errno.h>
 
 /*