--- a/ui/common/threadpool.c Fri Nov 29 22:21:36 2024 +0100 +++ b/ui/common/threadpool.c Thu Dec 12 20:01:43 2024 +0100 @@ -29,10 +29,12 @@ #include "threadpool.h" #include "context.h" -#include <pthread.h> - #ifndef _WIN32 +#include <pthread.h> +#include <stdio.h> +#include <string.h> +#include <errno.h> static threadpool_job kill_job;