hw/timer/mc146818rtc: Only include qapi-commands-misc on I386
authorPhilippe Mathieu-Daudé <philmd@redhat.com>
Thu, 17 Oct 2019 16:26:14 +0000 (18:26 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 23 Oct 2019 15:50:27 +0000 (17:50 +0200)
Commit a6c7040fb09 restricted the rtc-reset-reinjection command
to the I386 target.
Restrict the "qapi/qapi-commands-misc-target.h" header to it too.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191017162614.21327-1-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/timer/mc146818rtc.c

index 0e7cf9704240caac7b2a1772589ffdd3696db92c..c979db0992731e1e1ced5328eb727768c437f223 100644 (file)
 #include "hw/timer/mc146818rtc.h"
 #include "migration/vmstate.h"
 #include "qapi/error.h"
-#include "qapi/qapi-commands-misc-target.h"
 #include "qapi/qapi-events-misc-target.h"
 #include "qapi/visitor.h"
 #include "exec/address-spaces.h"
 
 #ifdef TARGET_I386
+#include "qapi/qapi-commands-misc-target.h"
 #include "hw/i386/apic.h"
 #endif