[Spice-commits] spice_codegen.py

Frediano Ziglio fziglio at kemper.freedesktop.org
Fri Jun 24 08:37:04 UTC 2016


 spice_codegen.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 806d3273fa0361982ce379f485f564d3897e4a31
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Thu Jun 23 12:57:19 2016 +0200

    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 at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/spice_codegen.py b/spice_codegen.py
index 569cccc..c019ad8 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -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)


More information about the Spice-commits mailing list