Declare timeval in mutex.h
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 29 Apr 2010 09:00:11 +0000 (11:00 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 29 Apr 2010 09:00:11 +0000 (11:00 +0200)
include/yaz/mutex.h

index 5787ec6..dab2f13 100644 (file)
@@ -110,6 +110,8 @@ void yaz_cond_destroy(YAZ_COND *p);
 
     Semantics like pthread_cond_wait.
 */
+YAZ_EXPORT struct timeval;
+
 YAZ_EXPORT
 int yaz_cond_wait(YAZ_COND p, YAZ_MUTEX m, const struct timeval *abstime);