[libvirt] [PATCH libvirt-python 02/17] Remove <config.h> from source files

Daniel P. Berrange berrange at redhat.com
Mon Sep 9 16:01:33 UTC 2013


From: "Daniel P. Berrange" <berrange at redhat.com>

We're no longer using automake, so <config.h> files are not
required

Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 libvirt-lxc-override.c  | 2 --
 libvirt-override.c      | 2 --
 libvirt-qemu-override.c | 2 --
 typewrappers.c          | 2 --
 4 files changed, 8 deletions(-)

diff --git a/libvirt-lxc-override.c b/libvirt-lxc-override.c
index f76ff4b..97d0353 100644
--- a/libvirt-lxc-override.c
+++ b/libvirt-lxc-override.c
@@ -9,8 +9,6 @@
  * Daniel Veillard <veillard at 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.  */
diff --git a/libvirt-override.c b/libvirt-override.c
index d16b9a2..6867693 100644
--- a/libvirt-override.c
+++ b/libvirt-override.c
@@ -9,8 +9,6 @@
  * Daniel Veillard <veillard at 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.  */
diff --git a/libvirt-qemu-override.c b/libvirt-qemu-override.c
index 6249031..db69617 100644
--- a/libvirt-qemu-override.c
+++ b/libvirt-qemu-override.c
@@ -9,8 +9,6 @@
  * Daniel Veillard <veillard at 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.  */
diff --git a/typewrappers.c b/typewrappers.c
index 9ba8790..9b88f3f 100644
--- a/typewrappers.c
+++ b/typewrappers.c
@@ -7,8 +7,6 @@
  * Daniel Veillard <veillard at 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.  */
-- 
1.8.3.1




More information about the libvir-list mailing list