summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/generator.py b/generator.py
index 98072f0..e641c31 100755
--- a/generator.py
+++ b/generator.py
@@ -757,7 +757,8 @@ def buildStubs(module):
export.write("/* Generated */\n\n")
wrapper = open(wrapper_file, "w")
- wrapper.write("/* Generated */\n\n")
+ wrapper.write("/* Generated by generator.py */\n\n")
+ wrapper.write("#include <config.h>\n")
wrapper.write("#include <Python.h>\n")
wrapper.write("#include <libvirt/" + module + ".h>\n")
wrapper.write("#include \"typewrappers.h\"\n")