diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/scripts/lua/weechat-lua.c | 6 | ||||
-rw-r--r-- | src/plugins/scripts/perl/weechat-perl.c | 14 | ||||
-rw-r--r-- | src/plugins/scripts/python/weechat-python.c | 8 | ||||
-rw-r--r-- | src/plugins/scripts/ruby/weechat-ruby.c | 8 |
4 files changed, 30 insertions, 6 deletions
diff --git a/src/plugins/scripts/lua/weechat-lua.c b/src/plugins/scripts/lua/weechat-lua.c index 89405e16a..4ff0c1f38 100644 --- a/src/plugins/scripts/lua/weechat-lua.c +++ b/src/plugins/scripts/lua/weechat-lua.c @@ -19,18 +19,22 @@ /* weechat-lua.c: Lua plugin support for WeeChat */ +#undef _ #include <lua.h> #include <lualib.h> #include <lauxlib.h> + #include <stdio.h> #include <stdlib.h> #include <string.h> +#include <stdarg.h> #include <time.h> + #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> -#undef _ + #include "../../weechat-plugin.h" #include "../weechat-script.h" diff --git a/src/plugins/scripts/perl/weechat-perl.c b/src/plugins/scripts/perl/weechat-perl.c index 596a1126e..906492592 100644 --- a/src/plugins/scripts/perl/weechat-perl.c +++ b/src/plugins/scripts/perl/weechat-perl.c @@ -19,12 +19,22 @@ /* weechat-perl.c: Perl plugin support for WeeChat */ +#undef _ -#include <stdlib.h> #include <EXTERN.h> #include <perl.h> #include <XSUB.h> -#undef _ + +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#include <stdarg.h> +#include <time.h> + +#include <sys/socket.h> +#include <netinet/in.h> +#include <arpa/inet.h> + #include "../../weechat-plugin.h" #include "../weechat-script.h" diff --git a/src/plugins/scripts/python/weechat-python.c b/src/plugins/scripts/python/weechat-python.c index 258f9bd9d..380af33e3 100644 --- a/src/plugins/scripts/python/weechat-python.c +++ b/src/plugins/scripts/python/weechat-python.c @@ -19,14 +19,20 @@ /* weechat-python.c: Python plugin support for WeeChat */ +#undef _ #include <Python.h> + +#include <stdio.h> #include <stdlib.h> #include <string.h> +#include <stdarg.h> +#include <time.h> + #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> -#undef _ + #include "../../weechat-plugin.h" #include "../weechat-script.h" diff --git a/src/plugins/scripts/ruby/weechat-ruby.c b/src/plugins/scripts/ruby/weechat-ruby.c index 034847a37..8bc084b69 100644 --- a/src/plugins/scripts/ruby/weechat-ruby.c +++ b/src/plugins/scripts/ruby/weechat-ruby.c @@ -17,18 +17,22 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -/* wee-ruby.c: Ruby plugin support for WeeChat */ +/* weechat-ruby.c: Ruby plugin support for WeeChat */ +#undef _ #include <ruby.h> +#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> +#include <time.h> + #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> -#undef _ + #include "../../weechat-plugin.h" #include "../weechat-script.h" |