[glib] gatomic: #include gthread.h to fix compilation on nonoptimized architectures



commit 3f3b2bd82b9674d22cd64d76af68ddbc9cf80115
Author: Jasper Lievisse Adriaanse <jasper humppa nl>
Date:   Wed May 18 12:01:44 2011 -0400

    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 <walters verbum org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=631153

 glib/gatomic.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/glib/gatomic.c b/glib/gatomic.c
index 845c866..f90eb05 100644
--- a/glib/gatomic.c
+++ b/glib/gatomic.c
@@ -28,6 +28,7 @@
 #endif
 
 #include "gatomic.h"
+#include "gthread.h"
 #include "gthreadprivate.h"
 
 /**



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]