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.
This commit is contained in:
Brian Gianforcaro 2021-07-31 00:38:46 -07:00 committed by Gunnar Beutner
parent ed996fcced
commit 14c674183b
Notes: sideshowbarker 2024-07-18 07:40:26 +09:00

View File

@ -12,7 +12,9 @@
#include <Kernel/Arch/x86/InterruptDisabler.h>
#include <Kernel/CoreDump.h>
#include <Kernel/Debug.h>
#include <Kernel/Devices/KCOVDevice.h>
#ifdef ENABLE_KERNEL_COVERAGE_COLLECTION
# include <Kernel/Devices/KCOVDevice.h>
#endif
#include <Kernel/Devices/NullDevice.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/FileDescription.h>