summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-26 09:01:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-26 09:01:03 +0200
commit3c24e170d49d18f67263d0db2ee8126787208b0c (patch)
tree0e9950c252f5666423350fd7b6d8d23628f955e1
parentf7a258a8a4503f32d6f387bd600047a24d254d72 (diff)
staging: lustre: fix build error in errno.c
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>
-rw-r--r--drivers/staging/lustre/lustre/ptlrpc/errno.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/lustre/lustre/ptlrpc/errno.c b/drivers/staging/lustre/lustre/ptlrpc/errno.c
index c587fc86fcda..e44315047c2e 100644
--- a/drivers/staging/lustre/lustre/ptlrpc/errno.c
+++ b/drivers/staging/lustre/lustre/ptlrpc/errno.c
@@ -26,6 +26,7 @@
* Copyright (c) 2013, Intel Corporation.
*/
+#include <linux/errno.h>
#include <lustre_errno.h>
/*