summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgenerator.py2
-rw-r--r--libvir.c4
-rw-r--r--libvirt_wrap.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/generator.py b/generator.py
index 497f3b4..3345ac8 100755
--- a/generator.py
+++ b/generator.py
@@ -480,7 +480,7 @@ def buildStubs():
wrapper = open("libvirt-py.c", "w")
wrapper.write("/* Generated */\n\n")
wrapper.write("#include <Python.h>\n")
- wrapper.write("#include <libvirt.h>\n")
+ wrapper.write("#include <libvirt/libvirt.h>\n")
wrapper.write("#include \"libvirt_wrap.h\"\n")
wrapper.write("#include \"libvirt-py.h\"\n\n")
for function in functions.keys():
diff --git a/libvir.c b/libvir.c
index 786d47a..17fb4a1 100644
--- a/libvir.c
+++ b/libvir.c
@@ -10,8 +10,8 @@
*/
#include <Python.h>
-#include <libvirt.h>
-#include <virterror.h>
+#include <libvirt/libvirt.h>
+#include <libvirt/virterror.h>
#include "libvirt_wrap.h"
#include "libvirt-py.h"
diff --git a/libvirt_wrap.h b/libvirt_wrap.h
index 29b27ee..e745215 100644
--- a/libvirt_wrap.h
+++ b/libvirt_wrap.h
@@ -7,8 +7,8 @@
*/
#include <Python.h>
-#include <libvirt.h>
-#include <virterror.h>
+#include <libvirt/libvirt.h>
+#include <libvirt/virterror.h>
#ifdef __GNUC__
#ifdef ATTRIBUTE_UNUSED