--- a/dav/sync.h Mon Oct 09 14:55:47 2017 +0200 +++ b/dav/sync.h Thu Oct 12 20:37:46 2017 +0200 @@ -33,6 +33,8 @@ #include <libidav/webdav.h> #include <ucx/list.h> +#include <pthread.h> + #include "sopt.h" #include "version.h"