gatomic: #include gthread.h to fix compilation on nonoptimized architectures
authorJasper Lievisse Adriaanse <jasper@humppa.nl>
Wed, 18 May 2011 16:01:44 +0000 (12:01 -0400)
committerColin Walters <walters@verbum.org>
Wed, 18 May 2011 16:08:09 +0000 (12:08 -0400)
The fallback case of implementing atomic integers with mutexes needs
gthread.h.

Commit message written by Colin Walters <walters@verbum.org>

https://bugzilla.gnome.org/show_bug.cgi?id=631153

glib/gatomic.c

index 845c866..f90eb05 100644 (file)
@@ -28,6 +28,7 @@
 #endif
 
 #include "gatomic.h"
+#include "gthread.h"
 #include "gthreadprivate.h"
 
 /**