rtl8192: add missing ipv6 header

This commit is contained in:
ElonH 2020-04-21 22:51:41 +08:00 committed by AmadeusGhost
parent 5c44af4fbb
commit 5aa26b1538

View File

@ -0,0 +1,14 @@
diff --git a/core/rtw_br_ext.c b/core/rtw_br_ext.c
index 964b366..ec1c620 100644
--- a/core/rtw_br_ext.c
+++ b/core/rtw_br_ext.c
@@ -51,6 +51,9 @@
#include <linux/icmpv6.h>
#include <net/ndisc.h>
#include <net/checksum.h>
+#ifndef _HAVE_ARCH_IPV6_CSUM
+#include <net/ip6_checksum.h>
+#endif
#endif
#endif