aboutsummaryrefslogtreecommitdiff
path: root/system/include/dlfcn.h
diff options
context:
space:
mode:
Diffstat (limited to 'system/include/dlfcn.h')
-rw-r--r--system/include/dlfcn.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/system/include/dlfcn.h b/system/include/dlfcn.h
new file mode 100644
index 00000000..34a85289
--- /dev/null
+++ b/system/include/dlfcn.h
@@ -0,0 +1,19 @@
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define RTLD_LAZY 1
+#define RTLD_NOW 2
+#define RTLD_GLOBAL 4
+#define RTLD_LOCAL 8
+
+void *dlopen(const char *, int);
+void *dlsym(void *, const char *);
+int dlclose(void *);
+char *dlerror(void);
+
+#ifdef __cplusplus
+}
+#endif
+