From 9a870e6c4c561ad318a320c2bcc9618c7f600865 Mon Sep 17 00:00:00 2001 From: Hans Boehm Date: Mon, 23 Aug 2004 21:40:17 +0000 Subject: [PATCH] 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 --- boehm-gc/ChangeLog | 5 +++++ boehm-gc/aix_irix_threads.c | 3 ++- boehm-gc/backgraph.c | 2 ++ boehm-gc/include/private/gc_pmark.h | 2 ++ 4 files changed, 11 insertions(+), 1 deletion(-) 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 + + * 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/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 # include # include 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 -- 2.30.2