[Spice-devel] [PATCH spice-gtk 1/7] Fixup some headers so that they include headers the depend up on.

Marc-André Lureau marcandre.lureau at gmail.com
Thu Oct 6 11:43:30 PDT 2011


ack

On Thu, Oct 6, 2011 at 8:07 PM, Hans de Goede <hdegoede at redhat.com> wrote:
> 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
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>



-- 
Marc-André Lureau


More information about the Spice-devel mailing list