summaryrefslogtreecommitdiffstats
path: root/sys/dev/lmc
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-10-05 10:07:27 +0000
committerglebius <glebius@FreeBSD.org>2005-10-05 10:07:27 +0000
commit5fec195dfbb74ae2282f3a20aeb2944fc966235b (patch)
treef00ae782c4f89df65021069dec85b9ec5c3165b0 /sys/dev/lmc
parente2de919bb508d643b919555e8928a3ce4e6d1259 (diff)
downloadFreeBSD-src-5fec195dfbb74ae2282f3a20aeb2944fc966235b.zip
FreeBSD-src-5fec195dfbb74ae2282f3a20aeb2944fc966235b.tar.gz
- Don't include opt_global.h, it is always included implicitly.
- Include opt_device_polling.h
Diffstat (limited to 'sys/dev/lmc')
-rw-r--r--sys/dev/lmc/if_lmc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/lmc/if_lmc.c b/sys/dev/lmc/if_lmc.c
index 6a50e8a..2f2b358 100644
--- a/sys/dev/lmc/if_lmc.c
+++ b/sys/dev/lmc/if_lmc.c
@@ -77,11 +77,13 @@
# include "opt_inet.h" /* INET */
# include "opt_inet6.h" /* INET6 */
# include "opt_netgraph.h" /* NETGRAPH */
+# ifdef HAVE_KERNEL_OPTION_HEADERS
+# include "opt_device_polling.h" /* DEVICE_POLLING */
+# endif
# ifndef NETGRAPH
# define NETGRAPH 0
# endif
# define P2P 0 /* not in FreeBSD */
-# include "opt_global.h"/* ALTQ, DEVICE_POLLING */
# if (__FreeBSD_version >= 500000)
# define NSPPP 1 /* No count devices in FreeBSD 5 */
# include "opt_bpf.h" /* DEV_BPF */
OpenPOWER on IntegriCloud