summaryrefslogtreecommitdiff
path: root/src/plugins/guile
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-01-21 06:54:23 -0800
committerSébastien Helleu <flashcode@flashtux.org>2020-01-30 22:05:43 +0100
commit6d2d3041369ca22d71185a1e816355d993e9bf7f (patch)
treebf492315061cebbf43d600bbc31bbfb6c02d1752 /src/plugins/guile
parentd2dda92dafcf346d1a158f308e7f8fbfcc313281 (diff)
downloadweechat-6d2d3041369ca22d71185a1e816355d993e9bf7f.zip
Fix the build with guile-3.0.0.
v2: Update configure.ac too. Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'src/plugins/guile')
-rw-r--r--src/plugins/guile/weechat-guile-api.c2
-rw-r--r--src/plugins/guile/weechat-guile.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/guile/weechat-guile-api.c b/src/plugins/guile/weechat-guile-api.c
index 5c3ff356c..ec4c20e97 100644
--- a/src/plugins/guile/weechat-guile-api.c
+++ b/src/plugins/guile/weechat-guile-api.c
@@ -24,6 +24,8 @@
#include <libguile.h>
#include <time.h>
+#include <stdio.h>
+#include <string.h>
#include "../weechat-plugin.h"
#include "../plugin-script.h"
diff --git a/src/plugins/guile/weechat-guile.c b/src/plugins/guile/weechat-guile.c
index 63c34e0c1..24bedb541 100644
--- a/src/plugins/guile/weechat-guile.c
+++ b/src/plugins/guile/weechat-guile.c
@@ -30,6 +30,8 @@
#include <sys/stat.h>
#include <unistd.h>
#include <libgen.h>
+#include <stdio.h>
+#include <string.h>
#include "../weechat-plugin.h"
#include "../plugin-script.h"