aboutsummaryrefslogtreecommitdiff
path: root/hw/timer
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-01-19 21:51:44 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2016-03-22 22:20:17 +0100
commit4771d756f46219762477aaeaaef9bd215e3d5c60 (patch)
tree470c23c5b9a510b0d5a93cc7c4c18a9d47a29dd5 /hw/timer
parent7136fc1da2690a2a8a6444311484283de0190065 (diff)
downloadqemu-4771d756f46219762477aaeaaef9bd215e3d5c60.zip
qemu-4771d756f46219762477aaeaaef9bd215e3d5c60.tar.gz
qemu-4771d756f46219762477aaeaaef9bd215e3d5c60.tar.bz2
hw: explicitly include qemu-common.h and cpu.h
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/timer')
-rw-r--r--hw/timer/ds1338.c1
-rw-r--r--hw/timer/mc146818rtc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/timer/ds1338.c b/hw/timer/ds1338.c
index ff31561..385b7d3 100644
--- a/hw/timer/ds1338.c
+++ b/hw/timer/ds1338.c
@@ -11,6 +11,7 @@
*/
#include "qemu/osdep.h"
+#include "qemu-common.h"
#include "hw/i2c/i2c.h"
/* Size of NVRAM including both the user-accessible area and the
diff --git a/hw/timer/mc146818rtc.c b/hw/timer/mc146818rtc.c
index eb0100a..5e65504 100644
--- a/hw/timer/mc146818rtc.c
+++ b/hw/timer/mc146818rtc.c
@@ -22,6 +22,7 @@
* THE SOFTWARE.
*/
#include "qemu/osdep.h"
+#include "config-target.h"
#include "hw/hw.h"
#include "qemu/timer.h"
#include "sysemu/sysemu.h"