summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@redhat.com>2006-06-26 15:02:18 +0000
committerDaniel Veillard <veillard@redhat.com>2006-06-26 15:02:18 +0000
commit908443e1f3143f460849e4b220eb29bdd56569fc (patch)
tree88420a88f3b9108fa92ecb39c030dc2cf00ead08
parent506fb7d8868efb4eb24b003b42cce14f9a0b8847 (diff)
downloadlibvirt-python-split-908443e1f3143f460849e4b220eb29bdd56569fc.tar.gz
libvirt-python-split-908443e1f3143f460849e4b220eb29bdd56569fc.tar.xz
libvirt-python-split-908443e1f3143f460849e4b220eb29bdd56569fc.zip
* configure.in libvirt.spec.in docs/examples/* include/Makefile.am
include/libvirt/virterror.h python/generator.py python/libvir.c python/libvirt_wrap.h src/driver.h src/internal.h src/test.h src/virsh.c src/virterror.c src/xend_internal.c src/xend_internal.h src/xml.c src/xml.h: moved the includes from include/ to include/libvirt to reflect the installed include tree. This avoid using "" in the includes themselves. Daniel
-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