qemu/log.h needs a few bits and pieces from qemu-common to compile. Fixes the case where qemu/log.h is the first files included.
Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> --- include/qemu/log.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/qemu/log.h b/include/qemu/log.h index 58f69cb..0a1266d 100644 --- a/include/qemu/log.h +++ b/include/qemu/log.h @@ -2,6 +2,7 @@ #define QEMU_LOG_H #include <stdarg.h> +#include "qemu-common.h" #ifdef NEED_CPU_H #include "disas/disas.h" #endif -- 1.7.12.1.396.g16eed7c