aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
diff options
context:
space:
mode:
authorHans Boehm <Hans_Boehm@hp.com>2004-08-23 21:40:17 +0000
committerHans Boehm <hboehm@gcc.gnu.org>2004-08-23 21:40:17 +0000
commit9a870e6c4c561ad318a320c2bcc9618c7f600865 (patch)
tree0455d11e2704b2abb5b4e5dc848fd89e02dd5a0a /boehm-gc
parent8ba141520c44ab720084dbdf3e07a9015a05dc17 (diff)
downloadgcc-9a870e6c4c561ad318a320c2bcc9618c7f600865.zip
gcc-9a870e6c4c561ad318a320c2bcc9618c7f600865.tar.gz
gcc-9a870e6c4c561ad318a320c2bcc9618c7f600865.tar.bz2
aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include. * backgraph.c, include/private/gc_pmark.h: Always include gc.h. From-SVN: r86442
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 448ebce..9ce395c 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 4a5383c..5d27afd 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 0fe1c8f..7baf5b1 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 5198191..6b15d8a 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