[Spice-devel] [PATCH spice] agent-msg-filter: Move include from header

Pavel Grunt pgrunt at redhat.com
Wed May 4 12:06:01 UTC 2016


---
 server/agent-msg-filter.c | 1 +
 server/agent-msg-filter.h | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/agent-msg-filter.c b/server/agent-msg-filter.c
index 498864c..25edfd9 100644
--- a/server/agent-msg-filter.c
+++ b/server/agent-msg-filter.c
@@ -22,6 +22,7 @@
 #endif
 
 #include <string.h>
+#include <spice/vd_agent.h>
 #include "red-common.h"
 #include "agent-msg-filter.h"
 #include "reds.h"
diff --git a/server/agent-msg-filter.h b/server/agent-msg-filter.h
index 2ee055c..836ddbd 100644
--- a/server/agent-msg-filter.h
+++ b/server/agent-msg-filter.h
@@ -21,8 +21,6 @@
 #ifndef _H_AGENT_MSG_FILTER
 #define _H_AGENT_MSG_FILTER
 
-#include <spice/vd_agent.h>
-
 /* Possible return values for agent_msg_filter_process_data */
 enum {
     AGENT_MSG_FILTER_OK,
-- 
2.8.2



More information about the Spice-devel mailing list