diff options
4 files changed, 10 insertions, 1 deletions
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h index 07f7d306ba9a..17534a76362a 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_debug.h | |||
@@ -39,6 +39,7 @@ | |||
39 | #ifndef __LIBCFS_DEBUG_H__ | 39 | #ifndef __LIBCFS_DEBUG_H__ |
40 | #define __LIBCFS_DEBUG_H__ | 40 | #define __LIBCFS_DEBUG_H__ |
41 | 41 | ||
42 | #include <linux/limits.h> | ||
42 | #include <uapi/linux/lnet/libcfs_debug.h> | 43 | #include <uapi/linux/lnet/libcfs_debug.h> |
43 | 44 | ||
44 | /* | 45 | /* |
diff --git a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h b/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h index d6fc3164e7e7..a0c3413f4e6e 100644 --- a/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h +++ b/drivers/staging/lustre/include/linux/libcfs/libcfs_fail.h | |||
@@ -33,6 +33,9 @@ | |||
33 | #ifndef _LIBCFS_FAIL_H | 33 | #ifndef _LIBCFS_FAIL_H |
34 | #define _LIBCFS_FAIL_H | 34 | #define _LIBCFS_FAIL_H |
35 | 35 | ||
36 | #include <linux/sched.h> | ||
37 | #include <linux/wait.h> | ||
38 | |||
36 | extern unsigned long cfs_fail_loc; | 39 | extern unsigned long cfs_fail_loc; |
37 | extern unsigned int cfs_fail_val; | 40 | extern unsigned int cfs_fail_val; |
38 | extern int cfs_fail_err; | 41 | extern int cfs_fail_err; |
diff --git a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h index cc0150ef84fe..973c17a1c4a1 100644 --- a/drivers/staging/lustre/include/linux/lnet/lib-lnet.h +++ b/drivers/staging/lustre/include/linux/lnet/lib-lnet.h | |||
@@ -36,7 +36,11 @@ | |||
36 | #ifndef __LNET_LIB_LNET_H__ | 36 | #ifndef __LNET_LIB_LNET_H__ |
37 | #define __LNET_LIB_LNET_H__ | 37 | #define __LNET_LIB_LNET_H__ |
38 | 38 | ||
39 | #include <linux/libcfs/libcfs_all.h> | 39 | #include <linux/libcfs/libcfs.h> |
40 | #include <linux/libcfs/libcfs_cpu.h> | ||
41 | #include <linux/libcfs/libcfs_string.h> | ||
42 | #include <net/sock.h> | ||
43 | |||
40 | #include <linux/lnet/api.h> | 44 | #include <linux/lnet/api.h> |
41 | #include <linux/lnet/lib-types.h> | 45 | #include <linux/lnet/lib-types.h> |
42 | #include <uapi/linux/lnet/lnet-dlc.h> | 46 | #include <uapi/linux/lnet/lnet-dlc.h> |
diff --git a/drivers/staging/lustre/lnet/lnet/config.c b/drivers/staging/lustre/lnet/lnet/config.c index 0aea268a4f1c..55ecc1998b7e 100644 --- a/drivers/staging/lustre/lnet/lnet/config.c +++ b/drivers/staging/lustre/lnet/lnet/config.c | |||
@@ -34,6 +34,7 @@ | |||
34 | #define DEBUG_SUBSYSTEM S_LNET | 34 | #define DEBUG_SUBSYSTEM S_LNET |
35 | #include <linux/nsproxy.h> | 35 | #include <linux/nsproxy.h> |
36 | #include <net/net_namespace.h> | 36 | #include <net/net_namespace.h> |
37 | #include <linux/ctype.h> | ||
37 | #include <linux/lnet/lib-lnet.h> | 38 | #include <linux/lnet/lib-lnet.h> |
38 | 39 | ||
39 | struct lnet_text_buf { /* tmp struct for parsing routes */ | 40 | struct lnet_text_buf { /* tmp struct for parsing routes */ |