summaryrefslogtreecommitdiffstats
path: root/libvirt-lxc-override.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2013-11-12 18:21:46 +0000
committerDaniel P. Berrange <berrange@redhat.com>2013-11-21 16:37:06 +0000
commit0cf1140db596182521bb8e6f312876d9bacb55d7 (patch)
tree9bf6c37f37eca49712cccab867cf40cb58cacc25 /libvirt-lxc-override.c
parentc6a2be4b3faa84d04f0dbfab757e0bd5c0857e97 (diff)
downloadlibvirt-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-lxc-override.c')
-rw-r--r--libvirt-lxc-override.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/libvirt-lxc-override.c b/libvirt-lxc-override.c
index f76ff4b..9b8cd4c 100644
--- a/libvirt-lxc-override.c
+++ b/libvirt-lxc-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,9 +18,7 @@
#include <libvirt/libvirt-lxc.h>
#include <libvirt/virterror.h>
#include "typewrappers.h"
-#include "libvirt-lxc.h"
-#include "viralloc.h"
-#include "virfile.h"
+#include "build/libvirt-lxc.h"
#ifndef __CYGWIN__
extern void initlibvirtmod_lxc(void);
@@ -108,7 +104,7 @@ error:
* *
************************************************************************/
static PyMethodDef libvirtLxcMethods[] = {
-#include "libvirt-lxc-export.c"
+#include "build/libvirt-lxc-export.c"
{(char *) "virDomainLxcOpenNamespace", libvirt_lxc_virDomainLxcOpenNamespace, METH_VARARGS, NULL},
{NULL, NULL, 0, NULL}
};