Fix the following build failure with musl libc: In file included from read_verify.c:25:0: ../include/workqueue.h:39:2: error: unknown type name 'pthread_t' pthread_t *threads; ^~~~~~~~~ ../include/workqueue.h:42:2: error: unknown type name 'pthread_mutex_t' pthread_mutex_t lock; ^~~~~~~~~~~~~~~ ../include/workqueue.h:43:2: error: unknown type name 'pthread_cond_t' pthread_cond_t wakeup; ^~~~~~~~~~~~~~ Signed-off-by: Baruch Siach <baruch@xxxxxxxxxx> --- include/workqueue.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/workqueue.h b/include/workqueue.h index b4b3541701df..edb2f8ac5991 100644 --- a/include/workqueue.h +++ b/include/workqueue.h @@ -22,6 +22,8 @@ #ifndef _WORKQUEUE_H_ #define _WORKQUEUE_H_ +#include <pthread.h> + struct workqueue; typedef void workqueue_func_t(struct workqueue *wq, uint32_t index, void *arg); -- 2.16.2 -- To unsubscribe from this list: send the line "unsubscribe linux-xfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html