From d3feb6ae9398834d7778c0e43ebd1fa757eaecd8 Mon Sep 17 00:00:00 2001 From: alium Date: Tue, 12 Mar 2024 07:11:35 +0100 Subject: [PATCH] Update os_intfs.c for kernel 6.8 --- os_dep/linux/os_intfs.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/os_dep/linux/os_intfs.c b/os_dep/linux/os_intfs.c index 2dadae0..f4f2ef9 100644 --- a/os_dep/linux/os_intfs.c +++ b/os_dep/linux/os_intfs.c @@ -17,6 +17,10 @@ #include #include +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0)) +#define strlcpy strscpy +#endif + MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Realtek Wireless Lan Driver"); MODULE_AUTHOR("Realtek Semiconductor Corp.");