[Spice-devel] [PATCH v5 8/9] Reduce header dependency
Jonathon Jongsma
jjongsma at redhat.com
Wed Jun 15 19:51:40 UTC 2016
Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
On Wed, 2016-06-15 at 10:37 +0100, Frediano Ziglio wrote:
> Avoid dependencies from RedChannel stuff.
>
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> server/dcc-encoders.h | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/server/dcc-encoders.h b/server/dcc-encoders.h
> index 03230bb..efe861f 100644
> --- a/server/dcc-encoders.h
> +++ b/server/dcc-encoders.h
> @@ -20,10 +20,10 @@
>
> #include <setjmp.h>
> #include <common/quic.h>
> +#include <common/lz.h>
>
> -#include "red-channel.h"
> +#include "stat.h"
> #include "red-parse-qxl.h"
> -#include "image-cache.h"
> #include "glz-encoder.h"
> #include "jpeg-encoder.h"
> #ifdef USE_LZ4
> @@ -31,6 +31,8 @@
> #endif
> #include "zlib-encoder.h"
>
> +struct RedClient;
> +
> typedef struct RedCompressBuf RedCompressBuf;
> typedef struct RedGlzDrawable RedGlzDrawable;
> typedef struct ImageEncoders ImageEncoders;
More information about the Spice-devel
mailing list