diff options
Diffstat (limited to 'src/plugins/aspell/weechat-aspell.h')
-rw-r--r-- | src/plugins/aspell/weechat-aspell.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/aspell/weechat-aspell.h b/src/plugins/aspell/weechat-aspell.h index 7f26608fd..8d0935b28 100644 --- a/src/plugins/aspell/weechat-aspell.h +++ b/src/plugins/aspell/weechat-aspell.h @@ -21,7 +21,11 @@ #ifndef __WEECHAT_ASPELL_H #define __WEECHAT_ASPELL_H 1 +#ifdef USE_ENCHANT +#include <enchant.h> +#else #include <aspell.h> +#endif #define weechat_plugin weechat_aspell_plugin #define ASPELL_PLUGIN_NAME "aspell" @@ -32,6 +36,10 @@ struct t_aspell_code char *name; }; +#ifdef USE_ENCHANT +extern EnchantBroker *broker; +#endif + extern struct t_weechat_plugin *weechat_aspell_plugin; extern int aspell_enabled; extern struct t_aspell_code aspell_langs[]; |