summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/perl/weechat-perl-api.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-06-03 12:32:35 +0200
committerSebastien Helleu <flashcode@flashtux.org>2008-06-03 12:32:35 +0200
commitd9b08cf6e04b1b1b4bd890f293a9140e50d7d537 (patch)
tree060c0ef54899bf6fa97859c8f827c5435add746d /src/plugins/scripts/perl/weechat-perl-api.c
parent3a53257032a0df8aa5f3b31f14a8e6f4e1f07595 (diff)
downloadweechat-d9b08cf6e04b1b1b4bd890f293a9140e50d7d537.zip
Fix compilation problem with strftime in perl/python/ruby plugins
Diffstat (limited to 'src/plugins/scripts/perl/weechat-perl-api.c')
-rw-r--r--src/plugins/scripts/perl/weechat-perl-api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/scripts/perl/weechat-perl-api.c b/src/plugins/scripts/perl/weechat-perl-api.c
index 1a429bd08..35e2091f1 100644
--- a/src/plugins/scripts/perl/weechat-perl-api.c
+++ b/src/plugins/scripts/perl/weechat-perl-api.c
@@ -23,6 +23,7 @@
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
+#include <time.h>
#include "../../weechat-plugin.h"
#include "../script.h"