From e2c4df7cbb1044f84145de38cd3998ef51acfc14 Mon Sep 17 00:00:00 2001 From: Sepherosa Ziehau Date: Sat, 4 Jul 2009 15:19:09 +0800 Subject: [PATCH] pci: Put back header gardian in header files --- sys/bus/pci/pcireg.h | 2 ++ sys/bus/pci/pcivar.h | 4 ++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/sys/bus/pci/pcireg.h b/sys/bus/pci/pcireg.h index d7f9d16..15d4325 100644 --- a/sys/bus/pci/pcireg.h +++ b/sys/bus/pci/pcireg.h @@ -30,7 +30,9 @@ #ifndef _PCIREG_H_ #define _PCIREG_H_ +#ifndef _SYS_TYPES_H_ #include +#endif typedef u_int16_t pci_vendor_id_t; typedef u_int16_t pci_product_id_t; diff --git a/sys/bus/pci/pcivar.h b/sys/bus/pci/pcivar.h index 9687528..89192b8 100644 --- a/sys/bus/pci/pcivar.h +++ b/sys/bus/pci/pcivar.h @@ -30,8 +30,12 @@ #ifndef _PCIVAR_H_ #define _PCIVAR_H_ +#ifndef _SYS_QUEUE_H_ #include +#endif + #include + extern const char *pcib_owner; /* arbitrate who owns the pci device arch */ /* some PCI bus constants */ -- 1.7.7.2