From: Jo-Philipp Wich Date: Tue, 5 Jul 2011 11:52:20 +0000 (+0000) Subject: glib2: add missing gthread.h include, observed during host compilation of glib2 on... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1852ddb952ac0756e7fa4d7a8ad5e090441dac59;p=openwrt%2Fsvn-archive%2Fpackages.git glib2: add missing gthread.h include, observed during host compilation of glib2 on CentOS 5.6 (#8794) SVN-Revision: 27453 --- diff --git a/libs/glib2/patches/002-missing-gthread-include.patch b/libs/glib2/patches/002-missing-gthread-include.patch new file mode 100644 index 000000000..8def409ae --- /dev/null +++ b/libs/glib2/patches/002-missing-gthread-include.patch @@ -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; +