summaryrefslogtreecommitdiff
path: root/sys/dev/lmc/if_lmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/lmc/if_lmc.c')
-rw-r--r--sys/dev/lmc/if_lmc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c
index 1e05863c7490..8017e018032c 100644
--- a/sys/dev/lmc/if_lmc.c
+++ b/sys/dev/lmc/if_lmc.c
@@ -80,6 +80,12 @@
# ifdef HAVE_KERNEL_OPTION_HEADERS
# include "opt_device_polling.h" /* DEVICE_POLLING */
# endif
+# ifndef INET
+# define INET 0
+# endif
+# ifndef INET6
+# define INET6 0
+# endif
# ifndef NETGRAPH
# define NETGRAPH 0
# endif