diff --git a/package/kernel/exfat/patches/001-fix-build-on-kernel-4.x.patch b/package/kernel/exfat/patches/001-fix-build-on-kernel-4.x.patch new file mode 100644 index 0000000000..391d27355e --- /dev/null +++ b/package/kernel/exfat/patches/001-fix-build-on-kernel-4.x.patch @@ -0,0 +1,14 @@ +--- a/balloc.c ++++ b/balloc.c +@@ -7,8 +7,10 @@ + #include + #include + #include +-#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0) ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0) + #include ++#else ++#include + #endif + + #include "exfat_raw.h"