[Spice-devel] [PATCH v2] Make video-encoder.h self independent

Francois Gouget fgouget at codeweavers.com
Thu Jun 16 12:27:21 UTC 2016


On Thu, 16 Jun 2016, Frediano Ziglio wrote:

> gpointer definition was not included causing the header to fails to
> compile if included first.
> 
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
Acked-by: Francois Gouget <fgouget at codeweavers.com>

> ---
>  server/video-encoder.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> Changes from v1:
> - include glib.h to have gpointer definition.
> 
> diff --git a/server/video-encoder.h b/server/video-encoder.h
> index 5522818..a4cd2b3 100644
> --- a/server/video-encoder.h
> +++ b/server/video-encoder.h
> @@ -22,6 +22,7 @@
>  #define _H_VIDEO_ENCODER
>  
>  #include <inttypes.h>
> +#include <glib.h>
>  #include <common/draw.h>


-- 
Francois Gouget <fgouget at codeweavers.com>


More information about the Spice-devel mailing list