diff --git a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h.orig b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h index 8b76c0f..c8c5369 100644 --- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h.orig +++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h @@ -89,7 +89,7 @@ #include #elif PLATFORM(GTK) #include -typedef struct _GMutex GMutex; +typedef union _GMutex GMutex; typedef struct _GCond GCond; #endif diff --git a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h.orig b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h index c7f7ac4..f00e9cf 100644 --- a/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h.orig +++ b/src/3rdparty/webkit/Source/JavaScriptCore/wtf/gobject/GTypedefs.h @@ -52,7 +52,7 @@ typedef struct _GFile GFile; typedef struct _GHashTable GHashTable; typedef struct _GInputStream GInputStream; typedef struct _GList GList; -typedef struct _GMutex GMutex; +typedef union _GMutex GMutex; typedef struct _GPatternSpec GPatternSpec; typedef struct _GPollableOutputStream GPollableOutputStream; typedef struct _GSocketClient GSocketClient;