Forráskód Böngészése

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

Tomás Pinho 4 éve
szülő
commit
ca204c6072
1 módosított fájl, 1 hozzáadás és 0 törlés
  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