diff options
Diffstat (limited to 'src/plugin.c')
-rw-r--r-- | src/plugin.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugin.c b/src/plugin.c index 32ccf2d9..4559c77b 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -37,6 +37,7 @@ #include "plugin.h" #include "logging.h" #include "hcid.h" +#include "btio.h" static GSList *plugins = NULL; @@ -99,6 +100,10 @@ gboolean plugin_init(GKeyFile *config) if (strlen(PLUGINDIR) == 0) return FALSE; + /* Make a call to BtIO API so its symbols got resolved before the + * plugins are loaded. */ + bt_io_error_quark(); + if (config) disabled = g_key_file_get_string_list(config, "General", "DisablePlugins", |