File kernel515.patch of Package rtl8814au

diff -U 3 -H -d -r -N -- a/core/rtw_br_ext.c b/core/rtw_br_ext.c
--- a/core/rtw_br_ext.c	2022-08-21 16:51:44.000000000 +0200
+++ b/core/rtw_br_ext.c	2022-08-21 17:09:34.494493898 +0200
@@ -15,8 +15,12 @@
 #define _RTW_BR_EXT_C_
 
 #ifdef __KERNEL__
+	#include <linux/version.h>
 	#include <linux/if_arp.h>
 	#include <net/ip.h>
+	#if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
+ 	#include <net/ipx.h>
+    #endif
 	#include <linux/atalk.h>
 	#include <linux/udp.h>
 	#include <linux/if_pppox.h>
openSUSE Build Service is sponsored by