--- a/ui/common/threadpool.c Sat Nov 30 20:33:16 2024 +0100 +++ b/ui/common/threadpool.c Wed Dec 04 08:55:49 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;