From 39fc5b91de0cd9213b9b57046946ec3b303a06db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 27 Jun 2014 22:11:46 +0200 Subject: [PATCH] core: add missing declaration of "environ" (fix compilation on Mac OS X) --- src/core/wee-command.c | 3 +++ src/core/wee-completion.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/core/wee-command.c b/src/core/wee-command.c index a6926c582..d15a7bccc 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -78,6 +78,9 @@ #include "../plugins/plugin-config.h" +extern char **environ; + + /* * Callback for command "/away". * diff --git a/src/core/wee-completion.c b/src/core/wee-completion.c index 732d3e32b..c6b323c63 100644 --- a/src/core/wee-completion.c +++ b/src/core/wee-completion.c @@ -55,6 +55,9 @@ #include "../plugins/plugin.h" +extern char **environ; + + /* * Adds bar names to completion list. */