dladdr should be available under _BSD_SOURCE as well as _GNU_SOURCE

This commit is contained in:
Rich Felker 2012-09-06 22:58:34 -04:00
parent 400c5e5c83
commit ac5d085691
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ char *dlerror(void);
void *dlopen(const char *, int);
void *dlsym(void *__restrict, const char *__restrict);
#ifdef _GNU_SOURCE
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef struct {
const char *dli_fname;
void *dli_fbase;