summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.adoc7
-rw-r--r--src/core/weechat.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog.adoc b/ChangeLog.adoc
index b3695ff4f..7bcac008c 100644
--- a/ChangeLog.adoc
+++ b/ChangeLog.adoc
@@ -15,6 +15,13 @@ https://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
(file _ReleaseNotes.adoc_ in sources).
+[[v2.5]]
+== Version 2.5 (under dev)
+
+Build::
+
+ * core: fix compilation on Mac OS (issue #1308)
+
[[v2.4]]
== Version 2.4 (2019-02-17)
diff --git a/src/core/weechat.c b/src/core/weechat.c
index 000e37217..b7e71a2c3 100644
--- a/src/core/weechat.c
+++ b/src/core/weechat.c
@@ -39,6 +39,7 @@
#include "config.h"
#endif
+#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>