aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cxgb/cxgb_osdep.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cxgb/cxgb_osdep.h')
-rw-r--r--sys/dev/cxgb/cxgb_osdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/cxgb/cxgb_osdep.h b/sys/dev/cxgb/cxgb_osdep.h
index 773d12db7bb0..ba37cb94d419 100644
--- a/sys/dev/cxgb/cxgb_osdep.h
+++ b/sys/dev/cxgb/cxgb_osdep.h
@@ -110,7 +110,10 @@ struct t3_mbuf_hdr {
#endif
#if __FreeBSD_version >= 701000
+#include "opt_inet.h"
+#ifdef INET
#define LRO_SUPPORTED
+#endif
#define TOE_SUPPORTED
#endif