From 6bae8ae7d02ecdb640fc597e94f81c2e0a931b1a Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 18 Apr 2008 18:31:32 +0000 Subject: Python header workaround --- types.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types.c b/types.c index 6857c10..e4bad8a 100644 --- a/types.c +++ b/types.c @@ -9,6 +9,11 @@ #include +/* 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 * -- cgit