diff options
author | Alex Bligh <alex@alex.org.uk> | 2013-08-21 16:02:47 +0100 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-08-22 19:10:27 +0200 |
commit | 6a1751b7aad6e38e9d1ae6bcea72fa28bf6cc5fb (patch) | |
tree | e9323ec0742f142f26fcc79eecb76fdcc97ccd9d /hw/timer/lm32_timer.c | |
parent | ff83c66eccf5b5f6b6530d504e3be41559250dcb (diff) |
aio / timers: Untangle include files
include/qemu/timer.h has no need to include main-loop.h and
doing so causes an issue for the next patch. Unfortunately
various files assume including timers.h will pull in main-loop.h.
Untangle this mess.
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'hw/timer/lm32_timer.c')
-rw-r--r-- | hw/timer/lm32_timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/timer/lm32_timer.c b/hw/timer/lm32_timer.c index 986e6a19d2..8ed138cc0e 100644 --- a/hw/timer/lm32_timer.c +++ b/hw/timer/lm32_timer.c @@ -27,6 +27,7 @@ #include "qemu/timer.h" #include "hw/ptimer.h" #include "qemu/error-report.h" +#include "qemu/main-loop.h" #define DEFAULT_FREQUENCY (50*1000000) |