summaryrefslogtreecommitdiff
path: root/include/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/dlfcn.h')
-rw-r--r--include/dlfcn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 77b2181e4933..9990e6efbdf2 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -38,10 +38,12 @@
#include <sys/cdefs.h>
/*
- * Modes for dlopen().
+ * Modes and flags for dlopen().
*/
#define RTLD_LAZY 1 /* Bind function calls lazily */
#define RTLD_NOW 2 /* Bind function calls immediately */
+#define RTLD_MODEMASK 0x3
+#define RTLD_GLOBAL 0x100 /* Make symbols globally available */
/*
* Special handle argument for dlsym(). It causes the search for the