mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
16 lines
316 B
Diff
16 lines
316 B
Diff
--- a/unicode.c
|
|
+++ b/unicode.c
|
|
@@ -8,7 +8,12 @@
|
|
*/
|
|
#include <linux/fs.h>
|
|
#include <linux/slab.h>
|
|
+#include <linux/version.h>
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 12, 0)
|
|
#include <asm/unaligned.h>
|
|
+#else
|
|
+#include <linux/unaligned.h>
|
|
+#endif
|
|
#include "glob.h"
|
|
#include "unicode.h"
|
|
#include "uniupr.h"
|