summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc1
-rw-r--r--src/core/hook/wee-hook-timer.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index 382f429e4..0398f8f96 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -58,6 +58,7 @@ Tests::
Build::
+ * core: fix compilation with autotools on FreeBSD 12.0
* debian: disable Javascript plugin on Debian Buster/Bullseye (issue #1374)
* python: compile with Python 3 by default
* python: use pkg-config to detect Python (issue #1382)
diff --git a/src/core/hook/wee-hook-timer.h b/src/core/hook/wee-hook-timer.h
index 02717d29b..f8530ac72 100644
--- a/src/core/hook/wee-hook-timer.h
+++ b/src/core/hook/wee-hook-timer.h
@@ -21,6 +21,7 @@
#define WEECHAT_HOOK_TIMER_H
#include <time.h>
+#include <sys/time.h>
struct t_weechat_plugin;
struct t_infolist_item;