summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2013-08-10 12:35:55 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2013-08-30 12:52:27 +0100
commitce0217b98261dcf8b20cfb743831965dda1950ec (patch)
tree4b337daec803f6605752254f230298f385df4034
parentb27756dbe6a1be4633ec47a8fe92a4c217f68f93 (diff)
hw/xwin: Fix winglobals.h for MinGW64 build
Include pthread.h in winglobals.h to fix build with latest MinGW64 headers In file included from winmultiwindowicons.c:47:0: winglobals.h:92:1: error: unknown type name ‘pthread_mutex_t’ Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net> Reviewed-by: Marc Haesen <marha@users.sourceforge.net>
-rw-r--r--hw/xwin/winglobals.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xwin/winglobals.h b/hw/xwin/winglobals.h
index e7e2f7e20..4faba9eb7 100644
--- a/hw/xwin/winglobals.h
+++ b/hw/xwin/winglobals.h
@@ -30,6 +30,8 @@
#include <xwin-config.h>
#endif
+#include <pthread.h>
+
/*
* References to external symbols
*/