immortalwrt/package/kernel/rtl8192du/patches/010-missing-header-in-ipv6.patch

15 lines
312 B
Diff
Raw Normal View History

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