aboutsummaryrefslogtreecommitdiff
path: root/ftpfs/ccache.h
diff options
context:
space:
mode:
Diffstat (limited to 'ftpfs/ccache.h')
-rw-r--r--ftpfs/ccache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ftpfs/ccache.h b/ftpfs/ccache.h
index 410720c3..78f90bd2 100644
--- a/ftpfs/ccache.h
+++ b/ftpfs/ccache.h
@@ -40,10 +40,10 @@ struct ccache
/* Amount of IMAGE that has been allocated. */
size_t alloced;
- struct mutex lock;
+ pthread_mutex_t lock;
/* People can wait for a reading thread on this condition. */
- struct condition wakeup;
+ pthread_cond_t wakeup;
/* True if some thread is now fetching data. Only that thread should
modify the DATA_CONN, DATA_CONN_POS, and MAX fields. */