aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2000-03-20 01:22:27 +0000
committerPeter Wemm <peter@FreeBSD.org>2000-03-20 01:22:27 +0000
commit56dac036b662844955274028b310940418a6fd65 (patch)
tree19683b9493e50bbb48f091d0dd04e6b9a0a37d6d /sys/dev
parentc4bf272b860ae504ac011c2339f1c365a84c03a4 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pcivar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 23cd2af5ad65..510b01f27a71 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -279,7 +279,7 @@ PCIB_ACCESSOR(hose, HOSE, u_int32_t)
#ifdef PCI_COMPAT
-#ifdef _KERNEL
+#if defined(_KERNEL) && !defined(KLD_MODULE)
#include "opt_compat_oldpci.h"
#endif