summaryrefslogtreecommitdiff
path: root/include/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 2e7d0283..53871ee0 100644
--- 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);
-#ifdef _GNU_SOURCE
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef struct {
const char *dli_fname;
void *dli_fbase;