mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-common
synced 2026-08-10 18:43:29 +00:00
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:
parent
3029eae630
commit
806d3273fa
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user