mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2025-12-26 22:48:19 +00:00
build: Use <> rather than "" for including spice-server-enums.h
When using #include "spice-server-enums.h", it will be looked up first in the directory containing the file being build, which is going to be $srcdir when dcc.c includes it. However, spice-server-enums.h is a generated file, so it will be in $builddir, not in $srcdir. This most of the time won't be causing any problems, except when you happen to have an invalid spice-server-enums.h in $srcdir and you are doing an out-of-tree build. Using #include <spice-server-enums.h> instead allows the correct spice-server-enums.h file to be looked up. Signed-off-by: Christophe Fergeau <cfergeau@redhat.com> Acked-by: Lukáš Hrázký <lhrazky@redhat.com>
This commit is contained in:
parent
606f747bcc
commit
fcaf8d1a1c
@ -24,7 +24,7 @@
|
||||
#include "display-channel-private.h"
|
||||
#include "red-client.h"
|
||||
#include "main-channel-client.h"
|
||||
#include "spice-server-enums.h"
|
||||
#include <server/spice-server-enums.h>
|
||||
#include "glib-compat.h"
|
||||
|
||||
G_DEFINE_TYPE(DisplayChannelClient, display_channel_client, TYPE_COMMON_GRAPHICS_CHANNEL_CLIENT)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user