core: fix compilation on Mac OS (closes #1308)
This adds the missing include "unistd.h" for function "mkdtemp" (required on Mac OS only).
This commit is contained in:
parent
0a6172c128
commit
6a9937f08a
@ -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)
|
||||
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user