From 061264c039fbce9530cf3c80fdd51999bb8f2526 Mon Sep 17 00:00:00 2001 From: Jimmy Thrasher Date: Thu, 10 Apr 2014 15:23:39 -0400 Subject: [PATCH] Define extern char **environ for OSX, which doesn't define it in a header --- src/env_vars.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/env_vars.cc b/src/env_vars.cc index d6c04fa3..afee98aa 100644 --- a/src/env_vars.cc +++ b/src/env_vars.cc @@ -1,5 +1,9 @@ #include "env_vars.hh" +#if __APPLE__ +extern char **environ; +#endif + namespace Kakoune {