In some environment pthread.h is not defined but its definitions are used in some headers. Actually happens using MingW. Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/dispatcher.h | 1 + server/image-encoders.h | 1 + 2 files changed, 2 insertions(+) diff --git a/server/dispatcher.h b/server/dispatcher.h index 1aaba13b..bb968e56 100644 --- a/server/dispatcher.h +++ b/server/dispatcher.h @@ -19,6 +19,7 @@ #ifndef DISPATCHER_H_ #define DISPATCHER_H_ +#include <pthread.h> #include <glib-object.h> #include "red-common.h" diff --git a/server/image-encoders.h b/server/image-encoders.h index 2022d323..fc70377b 100644 --- a/server/image-encoders.h +++ b/server/image-encoders.h @@ -20,6 +20,7 @@ #define IMAGE_ENCODERS_H_ #include <setjmp.h> +#include <pthread.h> #include <common/quic.h> #include <common/lz.h> -- 2.17.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel