summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/scripts/python')
-rw-r--r--src/plugins/scripts/python/weechat-python.c8
1 files changed, 7 insertions, 1 deletions
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"