From 7e50a3977327c52e9e04f9cf3ac1cd0a54f042b2 Mon Sep 17 00:00:00 2001 From: zwelch Date: Wed, 6 May 2009 07:17:57 +0000 Subject: Add autoconf check to determine where environ should be declared. git-svn-id: svn://svn.berlios.de/openocd/trunk@1610 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helper') diff --git a/src/helper/jim.c b/src/helper/jim.c index 32c146fa..05236fc2 100644 --- a/src/helper/jim.c +++ b/src/helper/jim.c @@ -11984,7 +11984,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc, if (argc == 1) { -#if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) +#ifdef NEED_ENVIRON_EXTERN extern char **environ; #endif -- cgit v1.2.3