diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2008-04-18 18:31:32 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2008-04-18 18:31:32 +0000 |
commit | 6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a (patch) | |
tree | 9365eca19b21821573686f9e7f145e498899aeea /types.c | |
parent | 4f96b58763738e2c4c1e0dae04820e4e886cc6ab (diff) | |
download | libvirt-python-v6-6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a.tar.gz libvirt-python-v6-6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a.tar.xz libvirt-python-v6-6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a.zip |
Python header workaround
Diffstat (limited to 'types.c')
-rw-r--r-- | types.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,6 +9,11 @@ #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. */ +#undef HAVE_PTHREAD_H + #include "libvirt_wrap.h" PyObject * |