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



commit bb488d4c4ff5d18f5f0f45ca8aae1863b3ca8b1a
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]