The file hw/virtio/cbor-helpers.c does not include our standard qemu/osdep.h
header, add it.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
hw/virtio/cbor-helpers.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/virtio/cbor-helpers.c b/hw/virtio/cbor-helpers.c
index 49f55df3994..010454d5383 100644
--- a/hw/virtio/cbor-helpers.c
+++ b/hw/virtio/cbor-helpers.c
@@ -8,6 +8,7 @@
* top-level directory.
*/
+#include "qemu/osdep.h"
#include "hw/virtio/cbor-helpers.h"
bool qemu_cbor_map_add(cbor_item_t *map, cbor_item_t *key, cbor_item_t *value)
--
2.52.0