mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
14 lines
305 B
Diff
14 lines
305 B
Diff
--- a/src/wl/sys/wl_linux.c
|
|
+++ b/src/wl/sys/wl_linux.c
|
|
@@ -56,7 +56,11 @@
|
|
#include <asm/irq.h>
|
|
#include <asm/pgtable.h>
|
|
#include <asm/uaccess.h>
|
|
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 12, 0)
|
|
+#include <linux/unaligned.h>
|
|
+#else
|
|
#include <asm/unaligned.h>
|
|
+#endif
|
|
|
|
#include <proto/802.1d.h>
|
|
|