From: tromey Date: Fri, 10 Feb 2006 01:58:30 +0000 (+0000) Subject: * pthread_support.c: Conditionally include dlfcn.h. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9e32ab0da53a073260734f00388b319c8f61ea0a;p=gc * pthread_support.c: Conditionally include dlfcn.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110832 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/ChangeLog b/ChangeLog index 425b0159..81bf9f61 100644 --- a/ChangeLog +++ b/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/pthread_support.c b/pthread_support.c index 7c7bb051..55872ef6 100644 --- a/pthread_support.c +++ b/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"