Explorar o código

include linux version.h so we can check which version we're compiling for

Tomás Pinho %!s(int64=4) %!d(string=hai) anos
pai
achega
ca204c6072
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      core/rtw_br_ext.c

+ 1 - 0
core/rtw_br_ext.c

@@ -17,6 +17,7 @@
 #ifdef __KERNEL__
 	#include <linux/if_arp.h>
 	#include <net/ip.h>
+	#include <linux/version.h>
 #if (LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0))
 	#include <net/ipx.h>
 #endif