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 ""
---
 spice_codegen.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spice_codegen.py b/spice_codegen.py
index 53c7be3..410acbd 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -211,8 +211,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)
-- 
2.7.4

_______________________________________________
Spice-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to