From: kc8apf Date: Mon, 4 May 2009 06:22:49 +0000 (+0000) Subject: Fix environ declaration for non-glibc systems X-Git-Tag: v0.2.0~906 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=53b7ce5b22f0653080d08b666e7e6ee35dd4284a;p=openocd Fix environ declaration for non-glibc systems git-svn-id: svn://svn.berlios.de/openocd/trunk@1599 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- 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