From 14c674183b1f84a563631186063b37424ab038ca Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sat, 31 Jul 2021 00:38:46 -0700 Subject: Kernel: Only include KCOVDevice.h if ENABLE_KERNEL_COVERAGE_COLLECTION There's no reason to include this header if we aren't going to actually use it. --- Kernel/Process.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Kernel') diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index f3e18753a3..4b599eef71 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -12,7 +12,9 @@ #include #include #include -#include +#ifdef ENABLE_KERNEL_COVERAGE_COLLECTION +# include +#endif #include #include #include -- cgit v1.2.3