[Spice-devel] [PATCH spice-server] Make stream-channel.h self-contained

Frediano Ziglio fziglio at redhat.com
Mon Oct 30 09:20:11 UTC 2017


> 
> Include protocol header file defining StreamMsgFormat which is used in a
> function signature in this header.
> 
> Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
> ---
>  server/stream-channel.h | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/server/stream-channel.h b/server/stream-channel.h
> index f961d7157..621d3eac9 100644
> --- a/server/stream-channel.h
> +++ b/server/stream-channel.h
> @@ -19,6 +19,7 @@
>  #ifndef STREAM_CHANNEL_H_
>  #define STREAM_CHANNEL_H_
>  
> +#include <spice/stream-device.h>
>  #include "red-channel.h"
>  
>  G_BEGIN_DECLS

Maybe an empty line between #include<> and #include "" ?

Frediano


More information about the Spice-devel mailing list