Commit e69f67b6d58f366ffaa83a0973948edd1f74b370
1 parent
a42bd6cc
Fix build failure.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2545 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
3 additions
and
1 deletions
vl.h
... | ... | @@ -859,9 +859,11 @@ enum { |
859 | 859 | OPENPIC_EVT_DEBUG, /* Inconditional debug event */ |
860 | 860 | OPENPIC_EVT_RESET, /* Core reset event */ |
861 | 861 | }; |
862 | +struct CPUPPCState; | |
862 | 863 | void openpic_set_irq(void *opaque, int n_IRQ, int level); |
863 | 864 | openpic_t *openpic_init (PCIBus *bus, SetIRQFunc *set_irq, |
864 | - int *pmem_index, int nb_cpus, CPUPPCState **envp); | |
865 | + int *pmem_index, int nb_cpus, | |
866 | + struct CPUPPCState **envp); | |
865 | 867 | |
866 | 868 | /* heathrow_pic.c */ |
867 | 869 | typedef struct HeathrowPICS HeathrowPICS; | ... | ... |