diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2013-11-12 18:21:46 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2013-11-22 14:44:47 +0000 |
commit | 90274d8df269afdf8035b979fbe7ac87af4614d2 (patch) | |
tree | f79b859361b8f5436a51564e3d0f93407107a3c4 /libvirt-override.c | |
parent | 5dd47a20c5aaad3ffae197f3d701f4b6415104b9 (diff) | |
download | libvirt-python-v8-90274d8df269afdf8035b979fbe7ac87af4614d2.tar.gz libvirt-python-v8-90274d8df269afdf8035b979fbe7ac87af4614d2.tar.xz libvirt-python-v8-90274d8df269afdf8035b979fbe7ac87af4614d2.zip |
Update header file includes
We're no longer using automake, so <config.h> files are not
required. Also remove of all libvirt internal util header
files. Reference generated header files in build/ subdir.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'libvirt-override.c')
-rw-r--r-- | libvirt-override.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/libvirt-override.c b/libvirt-override.c index 6546dd1..5017b5a 100644 --- a/libvirt-override.c +++ b/libvirt-override.c @@ -9,8 +9,6 @@ * Daniel Veillard <veillard@redhat.com> */ -#include <config.h> - /* Horrible kludge to work around even more horrible name-space pollution via Python.h. That file includes /usr/include/python2.5/pyconfig*.h, which has over 180 autoconf-style HAVE_* definitions. Shame on them. */ @@ -23,12 +21,7 @@ #include <libvirt/libvirt.h> #include <libvirt/virterror.h> #include "typewrappers.h" -#include "libvirt.h" -#include "viralloc.h" -#include "virtypedparam.h" -#include "ignore-value.h" -#include "virutil.h" -#include "virstring.h" +#include "build/libvirt.h" #ifndef __CYGWIN__ extern void initlibvirtmod(void); @@ -7225,7 +7218,7 @@ cleanup: * * ************************************************************************/ static PyMethodDef libvirtMethods[] = { -#include "libvirt-export.c" +#include "build/libvirt-export.c" {(char *) "virGetVersion", libvirt_virGetVersion, METH_VARARGS, NULL}, {(char *) "virConnectGetVersion", libvirt_virConnectGetVersion, METH_VARARGS, NULL}, {(char *) "virConnectGetCPUModelNames", libvirt_virConnectGetCPUModelNames, METH_VARARGS, NULL}, |