[glib] Clean Glib header #include issues: gthread
- From: Javier Jardón <jjardon src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Clean Glib header #include issues: gthread
- Date: Thu, 6 May 2010 15:42:45 +0000 (UTC)
commit 81e98c399e11d7621c91ff2911ef4f92c7a382e5
Author: Javier Jardón <jjardon gnome org>
Date: Thu May 6 06:28:54 2010 +0200
Clean Glib header #include issues: gthread
glib/gthread.c | 7 ++++++-
glib/gthread.h | 1 -
2 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/glib/gthread.c b/glib/gthread.c
index 4689211..33d4363 100644
--- a/glib/gthread.c
+++ b/glib/gthread.c
@@ -40,7 +40,7 @@
#include "config.h"
-#include "glib.h"
+#include "gthread.h"
#include "gthreadprivate.h"
#ifdef HAVE_UNISTD_H
@@ -56,6 +56,11 @@
#include <string.h>
+#include "garray.h"
+#include "gslist.h"
+#include "gtestutils.h"
+#include "gtimer.h"
+
#include "galias.h"
/**
diff --git a/glib/gthread.h b/glib/gthread.h
index 7a0abba..82d40c0 100644
--- a/glib/gthread.h
+++ b/glib/gthread.h
@@ -32,7 +32,6 @@
#define __G_THREAD_H__
#include <glib/gerror.h>
-#include <glib/gtypes.h>
#include <glib/gutils.h> /* for G_INLINE_FUNC */
#include <glib/gatomic.h> /* for g_atomic_pointer_get */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]