As client_marshallers.h is included outisde of spice-common, we need to
specify the path for generated_marsharllers.h so that builds out of the
tree don't fail.

Signed-off-by: Eduardo Lima (Etrunko) <etru...@redhat.com>
---
 common/Makefile.am          | 1 +
 common/client_marshallers.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/Makefile.am b/common/Makefile.am
index 4b8f63a..21bbe4e 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -82,6 +82,7 @@ libspice_common_server_la_CFLAGS = -DFIXME_SERVER_SMARTCARD
 
 AM_CPPFLAGS =                          \
        -I$(top_srcdir)                 \
+       -I$(top_builddir)               \
        $(SPICE_COMMON_CFLAGS)          \
        $(PROTOCOL_CFLAGS)              \
        $(NULL)
diff --git a/common/client_marshallers.h b/common/client_marshallers.h
index d3e26b4..322b1d8 100644
--- a/common/client_marshallers.h
+++ b/common/client_marshallers.h
@@ -25,7 +25,7 @@
 
 #include <spice/protocol.h>
 
-#include "generated_client_marshallers.h"
+#include "common/generated_client_marshallers.h"
 #include "marshaller.h"
 #include "messages.h"
 
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to