build: Fix build from tarballs

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@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2018-08-09 11:23:22 +02:00 committed by Frediano Ziglio
parent dde6fed81f
commit 81480cc3cc

View File

@ -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)