branch Attitude Adjustment packages
[12.09/packages.git] / libs / glib2 / patches / 002-missing-gthread-include.patch
1 --- a/glib/gatomic.c
2 +++ b/glib/gatomic.c
3 @@ -881,6 +881,7 @@ g_atomic_pointer_compare_and_exchange (v
4  #endif /* DEFINE_WITH_WIN32_INTERLOCKED */
5  
6  #ifdef DEFINE_WITH_MUTEXES
7 +#include "gthread.h"
8  /* We have to use the slow, but safe locking method */
9  static GMutex *g_atomic_mutex; 
10