summaryrefslogtreecommitdiff
path: root/src/plugins/scripts/ruby/weechat-ruby-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/ruby/weechat-ruby-api.c
parent3a53257032a0df8aa5f3b31f14a8e6f4e1f07595 (diff)
downloadweechat-d9b08cf6e04b1b1b4bd890f293a9140e50d7d537.zip
Fix compilation problem with strftime in perl/python/ruby plugins
Diffstat (limited to 'src/plugins/scripts/ruby/weechat-ruby-api.c')
-rw-r--r--src/plugins/scripts/ruby/weechat-ruby-api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/scripts/ruby/weechat-ruby-api.c b/src/plugins/scripts/ruby/weechat-ruby-api.c
index 8507e9d41..4e58d8e7b 100644
--- a/src/plugins/scripts/ruby/weechat-ruby-api.c
+++ b/src/plugins/scripts/ruby/weechat-ruby-api.c
@@ -21,6 +21,7 @@
#undef _
#include <ruby.h>
+#include <time.h>
#include "../../weechat-plugin.h"
#include "../script.h"