[Spice-devel] [spice-server] build: Fix build from tarballs
Frediano Ziglio
fziglio at redhat.com
Thu Aug 9 10:26:29 UTC 2018
>
> Following commit fcaf8d1a1, build from tarballs/make distcheck is broken
> as spice-server-enums.h is not regenerated when building from tarballs,
> and we don't have a -I$(top_srcdir) in our build flags, just
> -I$(srcdir). This commit changes #include <server/spice-server-enums.h>
> to #include <spice-server-enums.h> which avoids the problem fixed by
> commit fcaf8d1a1 without breaking make distcheck.
>
> Signed-off-by: Christophe Fergeau <cfergeau at redhat.com>
Acked-by: Frediano Ziglio <fziglio at redhat.com>
Frediano
> ---
> server/dcc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/server/dcc.c b/server/dcc.c
> index 9498e7de7..826dd28fe 100644
> --- a/server/dcc.c
> +++ b/server/dcc.c
> @@ -24,7 +24,7 @@
> #include "display-channel-private.h"
> #include "red-client.h"
> #include "main-channel-client.h"
> -#include <server/spice-server-enums.h>
> +#include <spice-server-enums.h>
> #include "glib-compat.h"
>
> G_DEFINE_TYPE(DisplayChannelClient, display_channel_client,
> TYPE_COMMON_GRAPHICS_CHANNEL_CLIENT)
More information about the Spice-devel
mailing list