From: hboehm Date: Mon, 23 Aug 2004 21:40:17 +0000 (+0000) Subject: * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=932d1f48fe51a37dd24b0047602042e739fea2b1;p=gc * 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 --- diff --git a/ChangeLog b/ChangeLog index 448ebcec..9ce395c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2004-08-23 Hans Boehm + + * 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 * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include. diff --git a/aix_irix_threads.c b/aix_irix_threads.c index 4a5383ce..5d27afd1 100644 --- a/aix_irix_threads.c +++ b/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 # include # include diff --git a/backgraph.c b/backgraph.c index 0fe1c8f7..7baf5b10 100644 --- a/backgraph.c +++ b/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/include/private/gc_pmark.h b/include/private/gc_pmark.h index 51981914..6b15d8ad 100644 --- a/include/private/gc_pmark.h +++ b/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