From b3a00f4411962e0c06c7ad89a9936df388aa0023 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 25 Mar 2014 16:32:16 +0100 Subject: 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. --- spice_codegen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spice_codegen.py') diff --git a/spice_codegen.py b/spice_codegen.py index d35d949..c8376cc 100755 --- a/spice_codegen.py +++ b/spice_codegen.py @@ -209,8 +209,8 @@ if options.print_error: if options.includes: for i in options.includes: - writer.header.writeln('#include "%s"' % i) - writer.writeln('#include "%s"' % i) + writer.header.writeln('#include <%s>' % i) + writer.writeln('#include <%s>' % i) if options.generate_enums or options.generate_dissector: write_enums(writer, options.generate_dissector) -- cgit