Michael Bruck <mbruck@digenius.de>: use HAVE_UNISTD_H for environ decl.

git-svn-id: svn://svn.berlios.de/openocd/trunk@1572 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
zwelch 2009-04-30 00:57:58 +00:00
parent 7d61acebd8
commit 6f73d44fab
1 changed files with 1 additions and 1 deletions

View File

@ -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