summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cxgb')
-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 773d12d..ba37cb9 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
OpenPOWER on IntegriCloud