Message ID | 4970C852-8412-410A-B21B-0AFA83E0C95D@suse.de |
---|---|
State | New |
Headers | show |
diff --git a/hw/spapr_pci.h b/hw/spapr_pci.h index 4bb8dfb..213340c 100644 --- a/hw/spapr_pci.h +++ b/hw/spapr_pci.h @@ -16,14 +16,16 @@ * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#if !defined(__HW_SPAPR_H__) +#error Please include spapr.h before this file! +#endif + #if !defined(__HW_SPAPR_PCI_H__) #define __HW_SPAPR_PCI_H__ #include "hw/pci_host.h" #include "hw/xics.h" -typedef struct sPAPREnvironment sPAPREnvironment; - #define SPAPR_PCI_NUM_LSI 16 typedef struct sPAPRPHBState {