From fe95a05a07aedf352b1877c9a562de23a2b81f8e Mon Sep 17 00:00:00 2001 From: Eric Joyner Date: Fri, 3 Dec 2021 12:02:42 -0800 Subject: [PATCH] iavf(4): Include RSS header file when RSS is defined This should unbreak the kernel build when "options RSS" is defined in the kernel configuration, and make the feature work. Signed-off-by: Eric Joyner Reported by: adrian@ Sponsored by: Intel Corporation (cherry picked from commit 5577aa338a675f2a465a58356894fbe24ba20407) --- sys/dev/iavf/iavf_lib.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/dev/iavf/iavf_lib.h b/sys/dev/iavf/iavf_lib.h index e49af93c2228..b57299a4eaa6 100644 --- a/sys/dev/iavf/iavf_lib.h +++ b/sys/dev/iavf/iavf_lib.h @@ -43,6 +43,9 @@ #include #include #include +#ifdef RSS +#include +#endif #include "iavf_debug.h" #include "iavf_osdep.h" -- 2.39.5