spapr_pci: Include spapr.h instead of playing games with #error
commit20668fdebdbb718238c7e80febd0249b5691c99f
authorMarkus Armbruster <armbru@redhat.com>
Wed, 29 Jun 2016 09:31:09 +0000 (29 11:31 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 12 Jul 2016 14:19:16 +0000 (12 16:19 +0200)
treedd8ad4fcd085d8e5822cb8e0a682f4b12c883436
parent14e54f8ecfe9c5e17348f456781344737ed10b3b
spapr_pci: Include spapr.h instead of playing games with #error

include/hw/pci-host/spapr.h needs hw/ppc/spapr.h.  It checks whether
its header guard is defined, and errors out if it isn't.

Playing games with some other header's guard symbol is not a good
idea.  Just include the frackin' header already.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
include/hw/pci-host/spapr.h