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-21 16:37:06 +0000 |
commit | 0cf1140db596182521bb8e6f312876d9bacb55d7 (patch) | |
tree | 9bf6c37f37eca49712cccab867cf40cb58cacc25 /libvirt-qemu-override.c | |
parent | c6a2be4b3faa84d04f0dbfab757e0bd5c0857e97 (diff) | |
download | libvirt-python-v7-0cf1140db596182521bb8e6f312876d9bacb55d7.tar.gz libvirt-python-v7-0cf1140db596182521bb8e6f312876d9bacb55d7.tar.xz libvirt-python-v7-0cf1140db596182521bb8e6f312876d9bacb55d7.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-qemu-override.c')
-rw-r--r-- | libvirt-qemu-override.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libvirt-qemu-override.c b/libvirt-qemu-override.c index 6249031..4008b10 100644 --- a/libvirt-qemu-override.c +++ b/libvirt-qemu-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. */ @@ -20,8 +18,7 @@ #include <libvirt/libvirt-qemu.h> #include <libvirt/virterror.h> #include "typewrappers.h" -#include "libvirt-qemu.h" -#include "viralloc.h" +#include "build/libvirt-qemu.h" #ifndef __CYGWIN__ extern void initlibvirtmod_qemu(void); @@ -119,7 +116,7 @@ libvirt_qemu_virDomainQemuAgentCommand(PyObject *self ATTRIBUTE_UNUSED, PyObject * * ************************************************************************/ static PyMethodDef libvirtQemuMethods[] = { -#include "libvirt-qemu-export.c" +#include "build/libvirt-qemu-export.c" {(char *) "virDomainQemuMonitorCommand", libvirt_qemu_virDomainQemuMonitorCommand, METH_VARARGS, NULL}, {(char *) "virDomainQemuAgentCommand", libvirt_qemu_virDomainQemuAgentCommand, METH_VARARGS, NULL}, {NULL, NULL, 0, NULL} |