aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
authorHans Boehm <Hans_Boehm@hp.com>
Mon, 23 Aug 2004 21:40:17 +0000 (21:40 +0000)
committerHans Boehm <hboehm@gcc.gnu.org>
Mon, 23 Aug 2004 21:40:17 +0000 (21:40 +0000)
* 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
boehm-gc/aix_irix_threads.c
boehm-gc/backgraph.c
boehm-gc/include/private/gc_pmark.h

index 448ebceca9dae29d393b74b6822d0fe5c4400ce3..9ce395c754623f0264cc30b5dec823daf1db9133 100644 (file)
@@ -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.
index 4a5383ce4d1097abcc92a0d6eff34bb686b9d1ca..5d27afd145ed2c711fc8e9321a9063a259fdab2f 100644 (file)
  * 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>
index 0fe1c8f7d3609f8207634b025a41b69391921692..7baf5b103e4084a25c2d42c4a7e19d2a8c01ae47 100644 (file)
@@ -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 */
index 51981914dc5fcf71e5fa54680fdadc33c9390392..6b15d8ad242194dff1b224aba60bc07db4b22ebe 100644 (file)
@@ -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