diff --git a/src/plugins/weechat-plugin.h b/src/plugins/weechat-plugin.h index 101c3df3f..167c7aa0e 100644 --- a/src/plugins/weechat-plugin.h +++ b/src/plugins/weechat-plugin.h @@ -22,6 +22,8 @@ #ifndef __WEECHAT_WEECHAT_PLUGIN_H #define __WEECHAT_WEECHAT_PLUGIN_H 1 +#include + /* return codes for init function and handlers */ #define PLUGIN_RC_KO -1 /* function/handler failed */ #define PLUGIN_RC_OK 0 /* function/handler ok */ diff --git a/weechat/src/plugins/weechat-plugin.h b/weechat/src/plugins/weechat-plugin.h index 101c3df3f..167c7aa0e 100644 --- a/weechat/src/plugins/weechat-plugin.h +++ b/weechat/src/plugins/weechat-plugin.h @@ -22,6 +22,8 @@ #ifndef __WEECHAT_WEECHAT_PLUGIN_H #define __WEECHAT_WEECHAT_PLUGIN_H 1 +#include + /* return codes for init function and handlers */ #define PLUGIN_RC_KO -1 /* function/handler failed */ #define PLUGIN_RC_OK 0 /* function/handler ok */