From 53b7ce5b22f0653080d08b666e7e6ee35dd4284a Mon Sep 17 00:00:00 2001 From: kc8apf Date: Mon, 4 May 2009 06:22:49 +0000 Subject: Fix environ declaration for non-glibc systems git-svn-id: svn://svn.berlios.de/openocd/trunk@1599 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/helper/jim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/helper/jim.c b/src/helper/jim.c index ad2d6ec5..32c146fa 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) { -#ifndef HAVE_UNISTD_H +#if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__) extern char **environ; #endif -- cgit v1.2.3