8 #if __STDC_VERSION__ >= 199901L
9 #define __restrict restrict
10 #elif !defined(__GNUC__)
16 #define RTLD_GLOBAL 256
19 #define RTLD_NEXT ((void *)-1)
20 #define RTLD_DEFAULT ((void *)0)
24 void *dlopen(const char *, int);
25 void *dlsym(void *__restrict, const char *__restrict);
27 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
29 const char *dli_fname;
31 const char *dli_sname;
34 int dladdr(void *, Dl_info *);