summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-11-17 00:40:34 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-11-17 00:40:34 +0100
commitb480c7e7c06873c900bbac4a8112c86ddc66e073 (patch)
treec51383f1cb6b7e76691bf6392f7b9a2c39436866 /src/core
parent1355a26920a02cfe9ad0d03e195bad09e0b398f9 (diff)
downloadweechat-b480c7e7c06873c900bbac4a8112c86ddc66e073.zip
core: add missing include of time.h in wee-secure.h
This fixes a compilation issue on FreeBSD 11.0.
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-secure.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/wee-secure.h b/src/core/wee-secure.h
index f20a249fd..7a1e0db0b 100644
--- a/src/core/wee-secure.h
+++ b/src/core/wee-secure.h
@@ -20,6 +20,8 @@
#ifndef WEECHAT_SECURE_H
#define WEECHAT_SECURE_H
+#include <time.h>
+
#define SECURE_ENV_PASSPHRASE "WEECHAT_PASSPHRASE"
#define SECURE_SALT_DEFAULT "WeeChat!"
#define SECURE_DATA_PASSPHRASE_FLAG "__passphrase__"