summaryrefslogtreecommitdiffstats
path: root/sys/dev/lmc
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2008-08-24 18:27:19 +0000
committerbz <bz@FreeBSD.org>2008-08-24 18:27:19 +0000
commitd190fff9e3a0bcea96124e4c5efbf91f93390648 (patch)
tree90af2c75e325ebd1a044cab0d907e932a52aa66f /sys/dev/lmc
parent1eb6d5f22fc674a86f2fa61e6a52a4024e0a3ce8 (diff)
downloadFreeBSD-src-d190fff9e3a0bcea96124e4c5efbf91f93390648.zip
FreeBSD-src-d190fff9e3a0bcea96124e4c5efbf91f93390648.tar.gz
Make lmc(4) compile without INET6 defined[1]. While here make it
compile if there is no INET defined. Obtained from: zec (via p4 vimage branch)[1] MFC after: 3 months
Diffstat (limited to 'sys/dev/lmc')
-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 1e05863..8017e01 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
OpenPOWER on IntegriCloud