summaryrefslogtreecommitdiffstats
path: root/python_modules/demarshal.py
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-03-19 15:41:07 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-04-16 16:47:55 +0200
commitef14521ac5218ca876e29173470fdb41a0cc821c (patch)
tree7970a3260d60b2f85adfc87fafbad18e98126a83 /python_modules/demarshal.py
parent6e5ea8d802ac8b2b92cb6f483a308ee196efe29a (diff)
downloadspice-protocol-ef14521ac5218ca876e29173470fdb41a0cc821c.tar.gz
spice-protocol-ef14521ac5218ca876e29173470fdb41a0cc821c.tar.xz
spice-protocol-ef14521ac5218ca876e29173470fdb41a0cc821c.zip
Use #include "common/..." in (de)marshallers
Now that they are created in $builddir, their includes will need to refer to files in $srcdir, which can be different. It's cleaner to add -I $(top_srcdir)/spice-common/ to modules using spice-common rather than having -I $(top_srcdir)/spice-common/common which would could create header collisions.
Diffstat (limited to 'python_modules/demarshal.py')
-rw-r--r--python_modules/demarshal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python_modules/demarshal.py b/python_modules/demarshal.py
index cf48d74..794cd25 100644
--- a/python_modules/demarshal.py
+++ b/python_modules/demarshal.py
@@ -1250,7 +1250,7 @@ def write_includes(writer):
writer.writeln("#include <stdio.h>")
writer.writeln("#include <spice/protocol.h>")
writer.writeln("#include <spice/macros.h>")
- writer.writeln('#include "mem.h"')
+ writer.writeln('#include "common/mem.h"')
writer.newline()
writer.writeln("#ifdef _MSC_VER")
writer.writeln("#pragma warning(disable:4101)")