[Spice-devel] [PATCH spice-gtk 1/3] Fixup some headers so that they include headers the depend up on.
Hans de Goede
hdegoede at redhat.com
Tue Oct 4 07:20:11 PDT 2011
Otherwise they cannot be included unless other headers are included
first (and in the right order).
Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
gtk/spice-channel-cache.h | 2 ++
gtk/spice-session-priv.h | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/gtk/spice-channel-cache.h b/gtk/spice-channel-cache.h
index 07acb5c..d8a40f3 100644
--- a/gtk/spice-channel-cache.h
+++ b/gtk/spice-channel-cache.h
@@ -19,6 +19,8 @@
# define SPICE_CHANNEL_CACHE_H_
/* spice/common */
+#include <inttypes.h> /* For PRIx64 */
+#include "mem.h"
#include "ring.h"
G_BEGIN_DECLS
diff --git a/gtk/spice-session-priv.h b/gtk/spice-session-priv.h
index b135960..2815ed2 100644
--- a/gtk/spice-session-priv.h
+++ b/gtk/spice-session-priv.h
@@ -20,6 +20,7 @@
#include <glib.h>
#include <gio/gio.h>
+#include "spice-session.h"
#include "spice-channel-cache.h"
#include "decode.h"
--
1.7.6.4
More information about the Spice-devel
mailing list