diff --git a/drivers/net/ethernet/realtek/r8168_n.c b/drivers/net/ethernet/realtek/r8168_n.c index b09334fb..36123786 100644 --- a/drivers/net/ethernet/realtek/r8168_n.c +++ b/drivers/net/ethernet/realtek/r8168_n.c @@ -97,6 +97,10 @@ #include #endif +#if defined(NV_NET_GSO_H_PRESENT) +#include +#endif + #define FIRMWARE_8168D_1 "rtl_nic/rtl8168d-1.fw" #define FIRMWARE_8168D_2 "rtl_nic/rtl8168d-2.fw" #define FIRMWARE_8168E_1 "rtl_nic/rtl8168e-1.fw" diff --git a/scripts/conftest/Makefile b/scripts/conftest/Makefile index 5004d1bb..aa29dfa2 100644 --- a/scripts/conftest/Makefile +++ b/scripts/conftest/Makefile @@ -135,7 +135,8 @@ NV_HEADER_PRESENCE_TESTS = \ drm/drm_dp_aux_bus.h \ generated/autoconf.h \ linux/kconfig.h \ - linux/iosys-map.h + linux/iosys-map.h \ + net/gso.h # Filename to store the define for the header in $(1); this is only consumed by # the rule below that concatenates all of these together.