summary refs log tree commit diff stats
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rtc-test.c')
-rw-r--r--tests/rtc-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rtc-test.c b/tests/rtc-test.c
index 79a4ff1ed6..c7af34f6b1 100644
--- a/tests/rtc-test.c
+++ b/tests/rtc-test.c
@@ -15,6 +15,7 @@
 
 #include "libqtest-single.h"
 #include "qemu/timer.h"
+#include "hw/rtc/mc146818rtc.h"
 #include "hw/rtc/mc146818rtc_regs.h"
 
 #define UIP_HOLD_LENGTH           (8 * NANOSECONDS_PER_SECOND / 32768)