svn commit: r184479 - in stable/7/sys: . dev/lmc
Bjoern A. Zeeb
bz at FreeBSD.org
Thu Oct 30 09:20:43 PDT 2008
Author: bz
Date: Thu Oct 30 16:20:42 2008
New Revision: 184479
URL: http://svn.freebsd.org/changeset/base/184479
Log:
MFC: r182112
Make lmc(4) compile without INET6 defined. While here make it
compile if there is no INET defined.
Approved by: re (gnn)
Modified:
stable/7/sys/ (props changed)
stable/7/sys/dev/lmc/if_lmc.c
Modified: stable/7/sys/dev/lmc/if_lmc.c
==============================================================================
--- stable/7/sys/dev/lmc/if_lmc.c Thu Oct 30 16:15:12 2008 (r184478)
+++ stable/7/sys/dev/lmc/if_lmc.c Thu Oct 30 16:20:42 2008 (r184479)
@@ -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
More information about the svn-src-all
mailing list