[packages] glib2: add missing gthread.h include, observed during host compilation of glib2 on CentOS 5.6 (#8794)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@27453 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
5845d6c75f
commit
de903b6b2e
10
libs/glib2/patches/002-missing-gthread-include.patch
Normal file
10
libs/glib2/patches/002-missing-gthread-include.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- a/glib/gatomic.c
|
||||
+++ b/glib/gatomic.c
|
||||
@@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (v
|
||||
#endif /* DEFINE_WITH_WIN32_INTERLOCKED */
|
||||
|
||||
#ifdef DEFINE_WITH_MUTEXES
|
||||
+#include "gthread.h"
|
||||
/* We have to use the slow, but safe locking method */
|
||||
static GMutex *g_atomic_mutex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user