summaryrefslogtreecommitdiff
path: root/spice_codegen.py
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-21 01:45:04 +0100
committerMarc-André Lureau <marcandre.lureau@gmail.com>2012-03-21 13:24:17 +0100
commit055c68ccdd33cb9d22ee34275aceb345092955f8 (patch)
tree48321ce030cae91732ec53d2d1890849004bfe34 /spice_codegen.py
parentecce70452f5e28e111fb7acd6eac5c169ba67cff (diff)
codegen: include headers locally
Diffstat (limited to 'spice_codegen.py')
-rwxr-xr-xspice_codegen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/spice_codegen.py b/spice_codegen.py
index 759b09d..e9e64c0 100755
--- a/spice_codegen.py
+++ b/spice_codegen.py
@@ -157,6 +157,7 @@ if options.print_error:
if options.includes:
for i in options.includes:
+ writer.header.writeln('#include "%s"' % i)
writer.writeln('#include "%s"' % i)
if options.generate_enums: