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