summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/weechat.c1
1 files changed, 1 insertions, 0 deletions
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>