[PATCH v2 30/30] Reduce header dependency

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Avoid dependencies from RedChannel stuff.

Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx>
---
 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 089f194..f5654dd 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;
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]