projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400c5e5
)
dladdr should be available under _BSD_SOURCE as well as _GNU_SOURCE
author
Rich Felker
<dalias@aerifal.cx>
Fri, 7 Sep 2012 02:58:34 +0000
(22:58 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 7 Sep 2012 02:58:34 +0000
(22:58 -0400)
include/dlfcn.h
patch
|
blob
|
history
diff --git
a/include/dlfcn.h
b/include/dlfcn.h
index 2e7d0283c237bf3e955581bd339d675983bab53e..53871ee033fad18c493e21e472daee3d0697eae7 100644
(file)
--- a/
include/dlfcn.h
+++ b/
include/dlfcn.h
@@
-24,7
+24,7
@@
char *dlerror(void);
void *dlopen(const char *, int);
void *dlsym(void *__restrict, const char *__restrict);
-#if
def _GNU_SOURCE
+#if
defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef struct {
const char *dli_fname;
void *dli_fbase;