From 6f73d44fab72fdcab3eea1d56bb1a51660658c93 Mon Sep 17 00:00:00 2001 From: zwelch Date: Thu, 30 Apr 2009 00:57:58 +0000 Subject: [PATCH] Michael Bruck : use HAVE_UNISTD_H for environ decl. git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper/jim.c b/src/helper/jim.c index 7f21b4304..5da0aa114 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