mirror of
git://git.musl-libc.org/musl
synced 2024-12-16 03:35:06 +00:00
dladdr should be available under _BSD_SOURCE as well as _GNU_SOURCE
This commit is contained in:
parent
400c5e5c83
commit
ac5d085691
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user