summaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-23 21:40:17 +0000
committerhboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-23 21:40:17 +0000
commit4b27e8606c7dea9a7bc9e1953ef899854c3440b7 (patch)
tree0455d11e2704b2abb5b4e5dc848fd89e02dd5a0a /boehm-gc
parent1b33f928d8039b03d8ae68e71ec8c76c67df8899 (diff)
downloadgcc-4b27e8606c7dea9a7bc9e1953ef899854c3440b7.tar.gz
* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
* backgraph.c, include/private/gc_pmark.h: Always include gc.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86442 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'boehm-gc')
-rw-r--r--boehm-gc/ChangeLog5
-rw-r--r--boehm-gc/aix_irix_threads.c3
-rw-r--r--boehm-gc/backgraph.c2
-rw-r--r--boehm-gc/include/private/gc_pmark.h2
4 files changed, 11 insertions, 1 deletions
diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog
index 448ebceca9d..9ce395c7546 100644
--- a/boehm-gc/ChangeLog
+++ b/boehm-gc/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
+
+ * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
+ * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
+
2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
* win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
diff --git a/boehm-gc/aix_irix_threads.c b/boehm-gc/aix_irix_threads.c
index 4a5383ce4d1..5d27afd145e 100644
--- a/boehm-gc/aix_irix_threads.c
+++ b/boehm-gc/aix_irix_threads.c
@@ -26,9 +26,10 @@
* as a base instead.
*/
+# include "private/gc_priv.h"
+
# if defined(GC_IRIX_THREADS) || defined(GC_AIX_THREADS)
-# include "private/gc_priv.h"
# include <pthread.h>
# include <assert.h>
# include <semaphore.h>
diff --git a/boehm-gc/backgraph.c b/boehm-gc/backgraph.c
index 0fe1c8f7d36..7baf5b103e4 100644
--- a/boehm-gc/backgraph.c
+++ b/boehm-gc/backgraph.c
@@ -24,6 +24,8 @@
* a growing space leak.
*/
+#include "gc.h" /* For configuration information. */
+
#ifdef MAKE_BACK_GRAPH
#define MAX_IN 10 /* Maximum in-degree we handle directly */
diff --git a/boehm-gc/include/private/gc_pmark.h b/boehm-gc/include/private/gc_pmark.h
index 51981914dc5..6b15d8ad242 100644
--- a/boehm-gc/include/private/gc_pmark.h
+++ b/boehm-gc/include/private/gc_pmark.h
@@ -25,6 +25,8 @@
#ifndef GC_PMARK_H
# define GC_PMARK_H
+# include "gc.h" /* For configuration */
+
# if defined(KEEP_BACK_PTRS) || defined(PRINT_BLACK_LIST)
# include "dbg_mlc.h"
# endif