diff options
author | hboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-23 21:40:17 +0000 |
---|---|---|
committer | hboehm <hboehm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-23 21:40:17 +0000 |
commit | 4b27e8606c7dea9a7bc9e1953ef899854c3440b7 (patch) | |
tree | 0455d11e2704b2abb5b4e5dc848fd89e02dd5a0a /boehm-gc | |
parent | 1b33f928d8039b03d8ae68e71ec8c76c67df8899 (diff) | |
download | gcc-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/ChangeLog | 5 | ||||
-rw-r--r-- | boehm-gc/aix_irix_threads.c | 3 | ||||
-rw-r--r-- | boehm-gc/backgraph.c | 2 | ||||
-rw-r--r-- | boehm-gc/include/private/gc_pmark.h | 2 |
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 |