diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 448ebceca9dae29d393b74b6822d0fe5c4400ce3..9ce395c754623f0264cc30b5dec823daf1db9133 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 4a5383ce4d1097abcc92a0d6eff34bb686b9d1ca..5d27afd145ed2c711fc8e9321a9063a259fdab2f 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 0fe1c8f7d3609f8207634b025a41b69391921692..7baf5b103e4084a25c2d42c4a7e19d2a8c01ae47 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 51981914dc5fcf71e5fa54680fdadc33c9390392..6b15d8ad242194dff1b224aba60bc07db4b22ebe 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