summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-script-api.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-01-13 20:57:59 +0100
committerSébastien Helleu <flashcode@flashtux.org>2017-01-13 20:57:59 +0100
commit1361602ea5e247de0e34698651ee936093f47de3 (patch)
tree600f6f1a1d889ab2af1545d8af9a264e34bb7931 /src/plugins/plugin-script-api.h
parentb547bf6bbb036215531ade4d2870ac6eff1ce1a3 (diff)
downloadweechat-1361602ea5e247de0e34698651ee936093f47de3.zip
tests: fix compilation of tests on FreeBSD 11
Some includes were missing in .h files, and the tests must be linked with intl and execinfo on FreeBSD.
Diffstat (limited to 'src/plugins/plugin-script-api.h')
-rw-r--r--src/plugins/plugin-script-api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/plugin-script-api.h b/src/plugins/plugin-script-api.h
index ce6e2db48..f49614d1c 100644
--- a/src/plugins/plugin-script-api.h
+++ b/src/plugins/plugin-script-api.h
@@ -21,6 +21,8 @@
#ifndef WEECHAT_PLUGIN_SCRIPT_API_H
#define WEECHAT_PLUGIN_SCRIPT_API_H 1
+#include <time.h>
+
extern void plugin_script_api_charset_set (struct t_plugin_script *script,
const char *charset);
extern struct t_config_file *plugin_script_api_config_new (struct t_weechat_plugin *weechat_plugin,