* pthread_support.c: Conditionally include dlfcn.h.

From-SVN: r110832
This commit is contained in:
Tom Tromey 2006-02-10 01:58:30 +00:00 committed by Tom Tromey
parent bce3befa79
commit f4002c50cd
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2006-02-09 Tom Tromey <tromey@redhat.com>
* pthread_support.c: Conditionally include dlfcn.h.
2006-02-06 Jakub Jelinek <jakub@redhat.com>
Anthony Green <green@redhat.com>
Tom Tromey <tromey@redhat.com>

View File

@ -47,8 +47,12 @@
/*#define DEBUG_THREADS 1*/
/*#define GC_ASSERTIONS*/
#include "gc_config.h"
#ifdef GC_PTHREAD_SYM_VERSION
#define _GNU_SOURCE
#include <dlfcn.h>
#endif
# include "gc.h"
# include "private/pthread_support.h"