From 6a9937f08ad2c14aeb0a847ffb99e652d47d8251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Mon, 18 Feb 2019 19:28:20 +0100 Subject: [PATCH] core: fix compilation on Mac OS (closes #1308) This adds the missing include "unistd.h" for function "mkdtemp" (required on Mac OS only). --- ChangeLog.adoc | 7 +++++++ src/core/weechat.c | 1 + 2 files changed, 8 insertions(+) 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 #include #include #include