[Spice-devel] [PATCH spice-server 20/28] dispatcher.h: fix - s/#define MAIN_DISPATCHER_H/#define DISPATCHER_H

Yonit Halperin yhalperi at redhat.com
Tue Feb 26 10:04:06 PST 2013


---
 server/dispatcher.h      | 6 +++---
 server/main_dispatcher.h | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/server/dispatcher.h b/server/dispatcher.h
index a468c58..1b389bd 100644
--- a/server/dispatcher.h
+++ b/server/dispatcher.h
@@ -1,5 +1,5 @@
-#ifndef MAIN_DISPATCHER_H
-#define MAIN_DISPATCHER_H
+#ifndef DISPATCHER_H
+#define DISPATCHER_H
 
 #include <spice.h>
 
@@ -103,4 +103,4 @@ int dispatcher_get_recv_fd(Dispatcher *);
  */
 void dispatcher_set_opaque(Dispatcher *dispatcher, void *opaque);
 
-#endif //MAIN_DISPATCHER_H
+#endif //DISPATCHER_H
diff --git a/server/main_dispatcher.h b/server/main_dispatcher.h
index ec4a6b4..d44ee3a 100644
--- a/server/main_dispatcher.h
+++ b/server/main_dispatcher.h
@@ -2,6 +2,7 @@
 #define MAIN_DISPATCHER_H
 
 #include <spice.h>
+#include "red_channel.h"
 
 void main_dispatcher_channel_event(int event, SpiceChannelEventInfo *info);
 void main_dispatcher_seamless_migrate_dst_complete(RedClient *client);
-- 
1.8.1



More information about the Spice-devel mailing list