+int zebra_mutex_cond_lock (Zebra_mutex_cond *p)
+{
+#if HAVE_PTHREAD_H
+ return pthread_mutex_lock (&p->mutex);
+#else
+ return 0;
+#endif
+}
+
+int zebra_mutex_cond_unlock (Zebra_mutex_cond *p)
+{
+#if HAVE_PTHREAD_H
+ return pthread_mutex_unlock (&p->mutex);
+#else
+ return 0;
+#endif
+}
+
+int zebra_mutex_cond_wait (Zebra_mutex_cond *p)
+{
+#if HAVE_PTHREAD_H
+ return pthread_cond_wait (&p->cond, &p->mutex);
+#else
+ return 0;
+#endif
+}
+
+int zebra_mutex_cond_signal (Zebra_mutex_cond *p)
+{
+#if HAVE_PTHREAD_H
+ return pthread_cond_signal (&p->cond);
+#else
+ return 0;
+#endif
+}