From 56dac036b662844955274028b310940418a6fd65 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Mon, 20 Mar 2000 01:22:27 +0000 Subject: [PATCH] Bandaid for src/sys/modules which broke world --- sys/dev/pci/pcivar.h | 2 +- sys/pci/pcivar.h | 2 +- 2 files changed, 2 insertions(+), 2 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 diff --git a/sys/pci/pcivar.h b/sys/pci/pcivar.h index 23cd2af5ad65..510b01f27a71 100644 --- a/sys/pci/pcivar.h +++ b/sys/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