projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sigandset/sigorset: do not check for NULL pointers.
[musl]
/
include
/
dlfcn.h
diff --git
a/include/dlfcn.h
b/include/dlfcn.h
index
e98c8ca
..
46c4e18
100644
(file)
--- a/
include/dlfcn.h
+++ b/
include/dlfcn.h
@@
-5,6
+5,8
@@
extern "C" {
#endif
extern "C" {
#endif
+#include <features.h>
+
#define RTLD_LAZY 1
#define RTLD_NOW 2
#define RTLD_GLOBAL 256
#define RTLD_LAZY 1
#define RTLD_NOW 2
#define RTLD_GLOBAL 256
@@
-16,9
+18,9
@@
extern "C" {
int dlclose(void *);
char *dlerror(void);
void *dlopen(const char *, int);
int dlclose(void *);
char *dlerror(void);
void *dlopen(const char *, int);
-void *dlsym(void *
, const char *
);
+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;
typedef struct {
const char *dli_fname;
void *dli_fbase;