summaryrefslogtreecommitdiff
path: root/hw/timer/ds1338.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/timer/ds1338.c')
-rw-r--r--hw/timer/ds1338.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/timer/ds1338.c b/hw/timer/ds1338.c
index 385b7d3076..0112949e23 100644
--- a/hw/timer/ds1338.c
+++ b/hw/timer/ds1338.c
@@ -13,6 +13,7 @@
#include "qemu/osdep.h"
#include "qemu-common.h"
#include "hw/i2c/i2c.h"
+#include "qemu/bcd.h"
/* Size of NVRAM including both the user-accessible area and the
* secondary register area.