[Spice-devel] server: De-duplicate the DISPLAY_CLIENT_TIMEOUT definition

Francois Gouget fgouget at codeweavers.com
Sat Dec 5 04:06:31 PST 2015


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 server/cursor-channel.c | 1 +
 server/red-worker.h     | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/cursor-channel.c b/server/cursor-channel.c
index 840ff30..0b5ad75 100644
--- a/server/cursor-channel.c
+++ b/server/cursor-channel.c
@@ -22,6 +22,7 @@
 #include <glib.h>
 #include "common/generated_server_marshallers.h"
 #include "cursor-channel.h"
+#include "dcc.h"
 
 #define CLIENT_CURSOR_CACHE_SIZE 256
 
diff --git a/server/red-worker.h b/server/red-worker.h
index 710b54c..0ecc2a6 100644
--- a/server/red-worker.h
+++ b/server/red-worker.h
@@ -36,7 +36,6 @@ typedef struct CommonChannelClient {
 } CommonChannelClient;
 
 #define COMMON_CHANNEL_CLIENT(Client) ((CommonChannelClient*)(Client))
-#define DISPLAY_CLIENT_TIMEOUT 30000000000ULL //nano
 
 #define CHANNEL_RECEIVE_BUF_SIZE 1024
 typedef struct CommonChannel {
-- 
2.6.2



More information about the Spice-devel mailing list