From: zwelch Date: Thu, 30 Apr 2009 00:57:58 +0000 (+0000) Subject: Michael Bruck : use HAVE_UNISTD_H for environ decl. X-Git-Tag: v0.2.0~932 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f73d44fab72fdcab3eea1d56bb1a51660658c93;p=openocd Michael Bruck : use HAVE_UNISTD_H for environ decl. git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/helper/jim.c b/src/helper/jim.c index 7f21b430..5da0aa11 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -11979,7 +11979,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc, if (argc == 1) { -#if !defined(_WIN32) && !defined(__USE_GNU) +#ifndef HAVE_UNISTD_H extern char **environ; #endif