diff options
Diffstat (limited to 'src/plugin.h')
-rw-r--r-- | src/plugin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugin.h b/src/plugin.h index c735e5de..31bcce87 100644 --- a/src/plugin.h +++ b/src/plugin.h @@ -28,6 +28,8 @@ struct bluetooth_plugin_desc { }; #define BLUETOOTH_PLUGIN_DEFINE(name,init,exit) \ + extern struct bluetooth_plugin_desc bluetooth_plugin_desc \ + __attribute__ ((visibility("default"))); \ struct bluetooth_plugin_desc bluetooth_plugin_desc = { \ name, init, exit \ }; |