--- src/pthread_debug.h.orig 2006-02-15 21:22:38.000000000 +0800
+++ src/pthread_debug.h 2007-10-25 16:30:35.000000000 +0800
@@ -15,8 +15,10 @@
void Pthread_cond_wait(const char *caller, pthread_cond_t *cond, pthread_mutex_t *mutex);
void print_pthread_attr(const char *caller, pthread_attr_t *attr);
+#if defined (PTHREAD_MUTEXATTR_CONDATTR)
void print_pthread_mutexattr(const char *caller, pthread_mutexattr_t *m_attr);
void print_pthread_condattr(const char *caller, pthread_condattr_t *c_attr);
+#endif
#define pthread_create(a, b, c, d) Pthread_create(func, a, b, c, d)
syntax highlighted by Code2HTML, v. 0.9.1