aboutsummaryrefslogtreecommitdiffstats
path: root/src/condition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/condition.h')
-rw-r--r--src/condition.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/condition.h b/src/condition.h
index 48d8735ee..521e61daa 100644
--- a/src/condition.h
+++ b/src/condition.h
@@ -20,11 +20,11 @@
#ifndef MPD_CONDITION_H
#define MPD_CONDITION_H
-#include <pthread.h>
+#include <glib.h>
struct condition {
- pthread_mutex_t mutex;
- pthread_cond_t cond;
+ GMutex *mutex;
+ GCond *cond;
};
void cond_init(struct condition *cond);