diff -ruN asterisk-1.2.0-old/channels/chan_bluetooth.c asterisk-1.2.0-new/channels/chan_bluetooth.c --- asterisk-1.2.0-old/channels/chan_bluetooth.c 2005-12-04 04:48:40.000000000 +0100 +++ asterisk-1.2.0-new/channels/chan_bluetooth.c 2005-12-04 23:07:19.000000000 +0100 @@ -104,6 +104,7 @@ #include #include #include +#include #include #include #include @@ -3133,7 +3133,7 @@ struct ast_variable * v; char * cat; - cfg = ast_load(BLT_CONFIG_FILE); + cfg = ast_config_load(BLT_CONFIG_FILE); if (!cfg) { ast_log(LOG_NOTICE, "Unable to load Bluetooth config: %s. Bluetooth disabled\n", BLT_CONFIG_FILE);