aboutsummaryrefslogtreecommitdiffstats
path: root/loader.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-01 04:29:25 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-05-01 04:29:25 +0000
commite1f126cbec244a628017c5aec374b02440011bd3 (patch)
treee7f01f7f1f2c5b58380f8c649d6a413b06b1462b /loader.c
parenteabeaa88f7c24bb6b502f9537c107ceafb50c44e (diff)
Add ENUM configurable search path
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@946 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'loader.c')
-rwxr-xr-xloader.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/loader.c b/loader.c
index b47077a77..564a72340 100755
--- a/loader.c
+++ b/loader.c
@@ -23,9 +23,9 @@
#include <asterisk/channel.h>
#include <asterisk/term.h>
#include <asterisk/manager.h>
+#include <asterisk/enum.h>
#include <dlfcn.h>
#include <asterisk/md5.h>
-#define __USE_GNU
#include <pthread.h>
#include "asterisk.h"
#include "astconf.h"
@@ -145,6 +145,7 @@ void ast_module_reload(void)
/* We'll do the logger and manager the favor of calling its reload here first */
reload_manager();
+ ast_enum_reload();
ast_pthread_mutex_lock(&modlock);
m = module_list;