about summary refs log tree commit diff
path: root/include/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index fca2feb458..fd1c8a96a2 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -9,7 +9,8 @@
 extern void *__dlvsym (void *__handle, __const char *__name,
 		       __const char *__version);
 
-extern void *__libc_dlopen  (__const char *__name);
+#define __libc_dlopen(name) __libc_dlopen_mode (name, RTLD_LAZY)
+extern void *__libc_dlopen_mode  (__const char *__name, int __mode);
 extern void *__libc_dlsym   (void *__map, __const char *__name);
 extern int   __libc_dlclose (void *__map);