[Spice-commits] server/dispatcher.h server/image-encoders.h

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 26 09:55:22 UTC 2018


 server/dispatcher.h     |    1 +
 server/image-encoders.h |    1 +
 2 files changed, 2 insertions(+)

New commits:
commit dec1fdeab8b8742d30a46c0d41815afcb5c85fde
Author: Frediano Ziglio <fziglio at redhat.com>
Date:   Wed Jun 20 11:18:19 2018 +0100

    Add possibly missing headers for pthread.h
    
    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 at redhat.com>
    Acked-by: Christophe Fergeau <cfergeau at redhat.com>

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>
 


More information about the Spice-commits mailing list