summaryrefslogtreecommitdiff
path: root/src/plugins
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-02-23 07:38:22 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-02-23 07:38:22 +0100
commitc273b44f52fe224cf198b7c5d7fb83ceae5f6871 (patch)
treed1102e7be62ee4cf50aa4b955ff8606f8b6f3e76 /src/plugins
parent08929d91dc458ef9dff66831963c0250c7d09b7c (diff)
downloadweechat-c273b44f52fe224cf198b7c5d7fb83ceae5f6871.zip
javascript: replace include of time.h by ctime
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/javascript/weechat-js-api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/javascript/weechat-js-api.cpp b/src/plugins/javascript/weechat-js-api.cpp
index fe223252b..67f4471b3 100644
--- a/src/plugins/javascript/weechat-js-api.cpp
+++ b/src/plugins/javascript/weechat-js-api.cpp
@@ -25,7 +25,7 @@
#include <cstdlib>
#include <cstring>
#include <string>
-#include <time.h>
+#include <ctime>
extern "C"
{