Patchwork [2/7] log.h: Supply missing includes

login
register
mail settings
Submitter Markus Armbruster
Date June 6, 2013, 4:27 p.m.
Message ID <1370536046-15125-3-git-send-email-armbru@redhat.com>
Download mbox | patch
Permalink /patch/249471/
State New
Headers show

Comments

Markus Armbruster - June 6, 2013, 4:27 p.m.
<stdio.h> has always been missing.  Rest missed in commit eeacee4.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 include/qemu/log.h | 3 +++
 1 file changed, 3 insertions(+)
Laszlo Ersek - June 6, 2013, 6:22 p.m.
On 06/06/13 18:27, Markus Armbruster wrote:
> <stdio.h> has always been missing.  Rest missed in commit eeacee4.
> 
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---
>  include/qemu/log.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/include/qemu/log.h b/include/qemu/log.h
> index 6b0db02..fd76f91 100644
> --- a/include/qemu/log.h
> +++ b/include/qemu/log.h
> @@ -2,6 +2,9 @@
>  #define QEMU_LOG_H
>  
>  #include <stdarg.h>
> +#include <stdbool.h>
> +#include <stdio.h>
> +#include "qemu/compiler.h"
>  #ifdef NEED_CPU_H
>  #include "disas/disas.h"
>  #endif
> 

Reviewed-by: Laszlo Ersek <lersek@redhat.com>

Patch

diff --git a/include/qemu/log.h b/include/qemu/log.h
index 6b0db02..fd76f91 100644
--- a/include/qemu/log.h
+++ b/include/qemu/log.h
@@ -2,6 +2,9 @@ 
 #define QEMU_LOG_H
 
 #include <stdarg.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include "qemu/compiler.h"
 #ifdef NEED_CPU_H
 #include "disas/disas.h"
 #endif