From bb488d4c4ff5d18f5f0f45ca8aae1863b3ca8b1a Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Wed, 18 May 2011 12:01:44 -0400 Subject: [PATCH] gatomic: #include gthread.h to fix compilation on nonoptimized architectures The fallback case of implementing atomic integers with mutexes needs gthread.h. Commit message written by Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=631153 --- glib/gatomic.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glib/gatomic.c b/glib/gatomic.c index 845c86686..f90eb059c 100644 --- a/glib/gatomic.c +++ b/glib/gatomic.c @@ -28,6 +28,7 @@ #endif #include "gatomic.h" +#include "gthread.h" #include "gthreadprivate.h" /**