summaryrefslogtreecommitdiffstats
path: root/python_modules/demarshal.py
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-03-25 16:32:16 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-04-16 16:47:55 +0200
commitb3a00f4411962e0c06c7ad89a9936df388aa0023 (patch)
tree60dc228450145306a9ecbe507d3d3b196b7e23de /python_modules/demarshal.py
parent90a1240f274b55ae0b406e8f1edaadaa87748bec (diff)
downloadspice-common-b3a00f4411962e0c06c7ad89a9936df388aa0023.tar.gz
spice-common-b3a00f4411962e0c06c7ad89a9936df388aa0023.tar.xz
spice-common-b3a00f4411962e0c06c7ad89a9936df388aa0023.zip
marshaller: Use #include <> for headers in $srcdir/common
Since the (de)marshallers are now generated in $builddir and not in $srcdir, when these generated files include a file located in $srcdir/common, the compiler will find them thanks to a -I directive, so it makes more sense to use <> rather than "" when including them.
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 794cd25..b7e51dc 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 "common/mem.h"')
+ writer.writeln('#include <common/mem.h>')
writer.newline()
writer.writeln("#ifdef _MSC_VER")
writer.writeln("#pragma warning(disable:4101)")