summaryrefslogtreecommitdiffstats
path: root/libvirt-qemu-override.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-09-06 19:02:06 +0100
committerDaniel P. Berrange <berrange@redhat.com>2013-11-12 18:02:07 +0000
commitbeee4c25014ef440c7625c384f17b561723b12c8 (patch)
tree9b91d39e2966aeb45ca334af883c5df40e9a15ff /libvirt-qemu-override.c
parent4f9de9e8e211d5586c41aad2f0c5c0e6ff18e13a (diff)
downloadlibvirt-python-v6-beee4c25014ef440c7625c384f17b561723b12c8.tar.gz
libvirt-python-v6-beee4c25014ef440c7625c384f17b561723b12c8.tar.xz
libvirt-python-v6-beee4c25014ef440c7625c384f17b561723b12c8.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.c7
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}