diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c index b00ad359d..e612acd22 100644 --- a/src/core/wee-hook.c +++ b/src/core/wee-hook.c @@ -25,6 +25,7 @@ #endif #include +#include #include #include #include diff --git a/src/core/wee-log.h b/src/core/wee-log.h index d2231f9a4..214d8164b 100644 --- a/src/core/wee-log.h +++ b/src/core/wee-log.h @@ -20,6 +20,8 @@ #ifndef WEECHAT_LOG_H #define WEECHAT_LOG_H +#include + extern char *weechat_log_filename; extern FILE *weechat_log_file; extern int weechat_log_use_time; diff --git a/src/core/wee-string.c b/src/core/wee-string.c index b6765d9b7..83ad9c447 100644 --- a/src/core/wee-string.c +++ b/src/core/wee-string.c @@ -24,6 +24,7 @@ #endif #include +#include #include #include #include diff --git a/src/core/wee-string.h b/src/core/wee-string.h index 77af5b8d0..5380174e9 100644 --- a/src/core/wee-string.h +++ b/src/core/wee-string.h @@ -20,6 +20,7 @@ #ifndef WEECHAT_STRING_H #define WEECHAT_STRING_H +#include #include #include diff --git a/src/core/wee-upgrade-file.h b/src/core/wee-upgrade-file.h index 4b328b730..c40c0ef88 100644 --- a/src/core/wee-upgrade-file.h +++ b/src/core/wee-upgrade-file.h @@ -20,6 +20,8 @@ #ifndef WEECHAT_UPGRADE_FILE_H #define WEECHAT_UPGRADE_FILE_H +#include + #define UPGRADE_SIGNATURE "===== WeeChat Upgrade file v2.2 - binary, do not edit! =====" #define UPGRADE_ERROR(msg1, msg2) \ diff --git a/src/core/wee-url.h b/src/core/wee-url.h index 1ce168a83..5f4748ce8 100644 --- a/src/core/wee-url.h +++ b/src/core/wee-url.h @@ -20,6 +20,8 @@ #ifndef WEECHAT_URL_H #define WEECHAT_URL_H +#include + struct t_hashtable; struct t_infolist; diff --git a/src/core/wee-util.c b/src/core/wee-util.c index 4d3a9a5e0..461ac5854 100644 --- a/src/core/wee-util.c +++ b/src/core/wee-util.c @@ -24,6 +24,7 @@ #endif #include +#include #include #include #include diff --git a/src/gui/gui-chat.h b/src/gui/gui-chat.h index 762e9b15f..714d386d1 100644 --- a/src/gui/gui-chat.h +++ b/src/gui/gui-chat.h @@ -20,6 +20,7 @@ #ifndef WEECHAT_GUI_CHAT_H #define WEECHAT_GUI_CHAT_H +#include #include struct t_hashtable; diff --git a/src/plugins/logger/logger-buffer.h b/src/plugins/logger/logger-buffer.h index 4e38e15f7..c5921f87d 100644 --- a/src/plugins/logger/logger-buffer.h +++ b/src/plugins/logger/logger-buffer.h @@ -20,6 +20,8 @@ #ifndef WEECHAT_PLUGIN_LOGGER_BUFFER_H #define WEECHAT_PLUGIN_LOGGER_BUFFER_H +#include + struct t_infolist; struct t_logger_buffer diff --git a/src/plugins/lua/weechat-lua.c b/src/plugins/lua/weechat-lua.c index 465575b17..24f1b3d5b 100644 --- a/src/plugins/lua/weechat-lua.c +++ b/src/plugins/lua/weechat-lua.c @@ -26,6 +26,7 @@ #include #include #include +#include #include #include "../weechat-plugin.h" diff --git a/src/plugins/python/weechat-python.c b/src/plugins/python/weechat-python.c index 77581c1f9..c079276ab 100644 --- a/src/plugins/python/weechat-python.c +++ b/src/plugins/python/weechat-python.c @@ -24,6 +24,7 @@ #undef _ #include +#include #include #include #include