]> Git Repo - qemu.git/commitdiff
hw/timer/mc146818rtc: Only include qapi-commands-misc on I386
authorPhilippe Mathieu-Daudé <[email protected]>
Thu, 17 Oct 2019 16:26:14 +0000 (18:26 +0200)
committerPaolo Bonzini <[email protected]>
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é <[email protected]>
Message-Id: <20191017162614[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
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
 
This page took 0.025583 seconds and 4 git commands to generate.