diff mbox series

qemu-plugin.h: add missing include <stddef.h> to define size_t

Message ID 20200524202427.951784-1-cota@braap.org (mailing list archive)
State New, archived
Headers show
Series qemu-plugin.h: add missing include <stddef.h> to define size_t | expand

Commit Message

Emilio Cota May 24, 2020, 8:24 p.m. UTC
Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 include/qemu/qemu-plugin.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Philippe Mathieu-Daudé May 24, 2020, 9:57 p.m. UTC | #1
On 5/24/20 10:24 PM, Emilio G. Cota wrote:
> Signed-off-by: Emilio G. Cota <cota@braap.org>
> ---
>  include/qemu/qemu-plugin.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
> index 89ed579f55..bab8b0d4b3 100644
> --- a/include/qemu/qemu-plugin.h
> +++ b/include/qemu/qemu-plugin.h
> @@ -12,6 +12,7 @@
>  
>  #include <inttypes.h>
>  #include <stdbool.h>
> +#include <stddef.h>
>  
>  /*
>   * For best performance, build the plugin with -fvisibility=hidden so that
> 

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Alex Bennée May 26, 2020, 11:24 a.m. UTC | #2
Emilio G. Cota <cota@braap.org> writes:

> Signed-off-by: Emilio G. Cota <cota@braap.org>
> ---
>  include/qemu/qemu-plugin.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
> index 89ed579f55..bab8b0d4b3 100644
> --- a/include/qemu/qemu-plugin.h
> +++ b/include/qemu/qemu-plugin.h
> @@ -12,6 +12,7 @@
>  
>  #include <inttypes.h>
>  #include <stdbool.h>
> +#include <stddef.h>
>  
>  /*
>   * For best performance, build the plugin with -fvisibility=hidden so that

Queued to plugins/next, thanks.
diff mbox series

Patch

diff --git a/include/qemu/qemu-plugin.h b/include/qemu/qemu-plugin.h
index 89ed579f55..bab8b0d4b3 100644
--- a/include/qemu/qemu-plugin.h
+++ b/include/qemu/qemu-plugin.h
@@ -12,6 +12,7 @@ 
 
 #include <inttypes.h>
 #include <stdbool.h>
+#include <stddef.h>
 
 /*
  * For best performance, build the plugin with -fvisibility=hidden so that