Fix environ declaration for non-glibc systems
git-svn-id: svn://svn.berlios.de/openocd/trunk@1599 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
ea3e49f4e2
commit
53b7ce5b22
|
@ -11984,7 +11984,7 @@ static int Jim_EnvCoreCommand(Jim_Interp *interp, int argc,
|
||||||
|
|
||||||
if (argc == 1) {
|
if (argc == 1) {
|
||||||
|
|
||||||
#ifndef HAVE_UNISTD_H
|
#if !defined(HAVE_UNISTD_H) || !defined(__GNU_LIBRARY__)
|
||||||
extern char **environ;
|
extern char **environ;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue