summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2016-10-17 14:18:06 +0100
committerFrediano Ziglio <fziglio@redhat.com>2016-10-19 21:49:49 +0100
commitd38ae73683ee7c69d0df3826f4e7206fff8b0e69 (patch)
tree9aeb2684edb42a291d47f54249619423b27d2a16
parent74a834dacad24aa5fce9e7ff3b9e8a5cf7cfd8a1 (diff)
Include main-channel-client.h where MainChannelClient is used
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Jonathon Jongsma <jjongsma at redhat.com>
-rw-r--r--server/dcc.c1
-rw-r--r--server/main-channel.c3
-rw-r--r--server/red-qxl.c1
-rw-r--r--server/reds.c1
-rw-r--r--server/sound.c1
-rw-r--r--server/stream.c1
6 files changed, 7 insertions, 1 deletions
diff --git a/server/dcc.c b/server/dcc.c
index 3519d2e8..0080f10e 100644
--- a/server/dcc.c
+++ b/server/dcc.c
@@ -22,6 +22,7 @@
#include "dcc-private.h"
#include "display-channel.h"
#include "red-channel-client-private.h"
+#include "main-channel-client.h"
#include "spice-server-enums.h"
G_DEFINE_TYPE(DisplayChannelClient, display_channel_client, RED_TYPE_CHANNEL_CLIENT)
diff --git a/server/main-channel.c b/server/main-channel.c
index 201c573a..e69e34eb 100644
--- a/server/main-channel.c
+++ b/server/main-channel.c
@@ -22,9 +22,10 @@
#include <common/ring.h>
#include "red-common.h"
-#include "main-channel.h"
#include "reds.h"
#include "red-channel-client.h"
+#include "main-channel.h"
+#include "main-channel-client.h"
int main_channel_is_connected(MainChannel *main_chan)
{
diff --git a/server/red-qxl.c b/server/red-qxl.c
index e517b41c..87d613bd 100644
--- a/server/red-qxl.c
+++ b/server/red-qxl.c
@@ -36,6 +36,7 @@
#include "reds.h"
#include "dispatcher.h"
#include "red-parse-qxl.h"
+#include "main-channel-client.h"
#include "red-qxl.h"
diff --git a/server/reds.c b/server/reds.c
index a71029f2..fc116e05 100644
--- a/server/reds.c
+++ b/server/reds.c
@@ -73,6 +73,7 @@
#include "reds-private.h"
#include "video-encoder.h"
#include "red-channel-client.h"
+#include "main-channel-client.h"
static void reds_client_monitors_config(RedsState *reds, VDAgentMonitorsConfig *monitors_config);
static gboolean reds_use_client_monitors_config(RedsState *reds);
diff --git a/server/sound.c b/server/sound.c
index 4edf8ed3..db23e955 100644
--- a/server/sound.c
+++ b/server/sound.c
@@ -41,6 +41,7 @@
#include "sound.h"
#include <common/snd_codec.h>
#include "demarshallers.h"
+#include "main-channel-client.h"
#ifndef IOV_MAX
#define IOV_MAX 1024
diff --git a/server/stream.c b/server/stream.c
index b28c58bc..65331113 100644
--- a/server/stream.c
+++ b/server/stream.c
@@ -20,6 +20,7 @@
#include "stream.h"
#include "display-channel.h"
+#include "main-channel-client.h"
#define FPS_TEST_INTERVAL 1
#define FOREACH_STREAMS(display, item) \