From: Sepherosa Ziehau Date: Sat, 4 Jul 2009 07:19:09 +0000 (+0800) Subject: pci: Put back header gardian in header files X-Git-Tag: v2.3.2~36^2~33 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/e2c4df7cbb1044f84145de38cd3998ef51acfc14 pci: Put back header gardian in header files --- 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 */