소스 검색

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

Tomás Pinho 4 년 전
부모
커밋
ca204c6072
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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