diff --git a/boehm-gc/ChangeLog b/boehm-gc/ChangeLog index 425b015952a..81bf9f6112f 100644 --- a/boehm-gc/ChangeLog +++ b/boehm-gc/ChangeLog @@ -1,3 +1,7 @@ +2006-02-09 Tom Tromey + + * pthread_support.c: Conditionally include dlfcn.h. + 2006-02-06 Jakub Jelinek Anthony Green Tom Tromey diff --git a/boehm-gc/pthread_support.c b/boehm-gc/pthread_support.c index 7c7bb0519b2..55872ef65c8 100644 --- a/boehm-gc/pthread_support.c +++ b/boehm-gc/pthread_support.c @@ -47,8 +47,12 @@ /*#define DEBUG_THREADS 1*/ /*#define GC_ASSERTIONS*/ +#include "gc_config.h" + +#ifdef GC_PTHREAD_SYM_VERSION #define _GNU_SOURCE #include +#endif # include "gc.h" # include "private/pthread_support.h"