aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/loader.c b/main/loader.c
index 1ac5f9c56..e492538e0 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -61,6 +61,10 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
#define RTLD_NOW 0
#endif
+#ifndef RTLD_LOCAL
+#define RTLD_LOCAL 0
+#endif
+
struct ast_module_user {
struct ast_channel *chan;
AST_LIST_ENTRY(ast_module_user) entry;