mirror of
https://gitlab.com/libvirt/libvirt-python.git
synced 2025-08-04 12:21:57 +03:00
Python header workaround
This commit is contained in:
5
types.c
5
types.c
@ -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 *
|
||||
|
Reference in New Issue
Block a user