From bd388363a66d67f0e04f9c45b20a9f33dfcf79f6 Mon Sep 17 00:00:00 2001
From: "Jason A. Donenfeld" <Jason@zx2c4.com>
Date: Thu, 16 Apr 2020 00:27:33 -0600
Subject: compat: include sch_generic.h header for skb_reset_tc

Reported-by: King DuckZ <dev00@gmx.it>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
---
 src/compat/compat.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/compat/compat.h b/src/compat/compat.h
index 75bd3b7..bb996b8 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -1029,6 +1029,7 @@ out:
 
 #if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 29) || (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 14))
 #include <linux/skbuff.h>
+#include <net/sch_generic.h>
 static inline void skb_reset_redirect(struct sk_buff *skb)
 {
 #ifdef CONFIG_NET_SCHED
-- 
cgit v1.2.3-4-ga26e

