Commit 6f73d44f authored by zwelch's avatar zwelch
Browse files

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
parent 7d61aceb
...@@ -11979,7 +11979,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc, ...@@ -11979,7 +11979,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
if (argc == 1) { if (argc == 1) {
#if !defined(_WIN32) && !defined(__USE_GNU) #ifndef HAVE_UNISTD_H
extern char **environ; extern char **environ;
#endif #endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment