codegen: Use "" rather than <> for cmdline includes

Includes specified on the command line are currently #included with <>
rather than "". However, they are usually spice-common headers, so it
makes more sense to include them using ""

Acked-by: Pavel Grunt <pgrunt@redhat.com>
Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
Christophe Fergeau 2016-06-23 12:57:19 +02:00 committed by Frediano Ziglio
parent 3029eae630
commit 806d3273fa

View File

@ -210,8 +210,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)