1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-07 02:03:13 +02:00

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:
Sébastien Helleu
2019-02-18 19:28:20 +01:00
parent 0a6172c128
commit 6a9937f08a
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -39,6 +39,7 @@
#include "config.h"
#endif
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>