diff --git a/driver/ch9344.c b/driver/ch9344.c index 8130334..f75e7cb 100644 --- a/driver/ch9344.c +++ b/driver/ch9344.c @@ -62,7 +62,12 @@ #include #include #include -#include + +#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0) +#include // For kernels before 6.12 +#else +#include // For kernels 6.12 and above +#endif #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)) #include