diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-21 01:45:04 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-03-21 13:24:17 +0100 |
commit | b6afcd632ef7bd3fecc0b0d7a76d55b15da4ba85 (patch) | |
tree | 4ca047e8bee5d9fb496917b65419c761c6ba0dbb /python_modules | |
parent | 2d4e0d20003dce8399ad89663d6353778b6c917f (diff) |
codegen: include headers locally
Diffstat (limited to 'python_modules')
-rw-r--r-- | python_modules/marshal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python_modules/marshal.py b/python_modules/marshal.py index dc10a4c..8cbc426 100644 --- a/python_modules/marshal.py +++ b/python_modules/marshal.py @@ -4,7 +4,7 @@ import codegen def write_includes(writer): writer.header.writeln("#include <spice/protocol.h>") - writer.header.writeln("#include <marshaller.h>") + writer.header.writeln('#include "marshaller.h"') writer.header.newline() writer.header.writeln("#ifndef _GENERATED_HEADERS_H") writer.header.writeln("#define _GENERATED_HEADERS_H") @@ -15,7 +15,7 @@ def write_includes(writer): writer.writeln("#include <stdio.h>") writer.writeln("#include <spice/protocol.h>") writer.writeln("#include <spice/macros.h>") - writer.writeln("#include <marshaller.h>") + writer.writeln('#include "marshaller.h"') writer.newline() writer.writeln("#ifdef _MSC_VER") writer.writeln("#pragma warning(disable:4101)") |