From e1e6bc8b42fc83603c88a437aec3c71f14c685dc Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sun, 24 Aug 2008 18:27:19 +0000 Subject: [PATCH] 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 --- sys/dev/lmc/if_lmc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c index 1e05863c749..8017e018032 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