[Spice-devel] [spice-common 2/8] backtrace: Add missing include

Frediano Ziglio fziglio at redhat.com
Thu Mar 28 18:04:19 UTC 2019


> 
> This fixes a warning about missing prototype for backtrace()
> 
> Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>

Acked-by: Frediano Ziglio <fziglio at redhat.com>

> ---
>  common/backtrace.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/common/backtrace.c b/common/backtrace.c
> index c4edde1..ff72d1b 100644
> --- a/common/backtrace.c
> +++ b/common/backtrace.c
> @@ -25,6 +25,8 @@
>  #include <config.h>
>  #endif
>  
> +#include "backtrace.h"
> +
>  #include <errno.h>
>  #include <stdio.h>
>  #include <stdlib.h>

Not sure we updated the style document with this style but
fine for me.

Frediano


More information about the Spice-devel mailing list