summaryrefslogtreecommitdiffstats
path: root/hw/openrisc/cputimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/openrisc/cputimer.c')
-rw-r--r--hw/openrisc/cputimer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c
index fe95efc41c..e9f89333dc 100644
--- a/hw/openrisc/cputimer.c
+++ b/hw/openrisc/cputimer.c
@@ -21,6 +21,7 @@
#include "qemu/osdep.h"
#include "cpu.h"
#include "hw/hw.h"
+#include "migration/vmstate.h"
#include "qemu/timer.h"
#define TIMER_PERIOD 50 /* 50 ns period for 20 MHz timer */