diff options
author | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-04 06:22:49 +0000 |
---|---|---|
committer | kc8apf <kc8apf@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-05-04 06:22:49 +0000 |
commit | 53b7ce5b22f0653080d08b666e7e6ee35dd4284a (patch) | |
tree | d071f99f6376ad309961eaac5704be368df794bd /src | |
parent | ea3e49f4e22d63e6b74a561ddc7c5519833607d8 (diff) | |
download | openocd+libswd-53b7ce5b22f0653080d08b666e7e6ee35dd4284a.tar.gz openocd+libswd-53b7ce5b22f0653080d08b666e7e6ee35dd4284a.tar.bz2 openocd+libswd-53b7ce5b22f0653080d08b666e7e6ee35dd4284a.tar.xz openocd+libswd-53b7ce5b22f0653080d08b666e7e6ee35dd4284a.zip |
Fix environ declaration for non-glibc systems
git-svn-id: svn://svn.berlios.de/openocd/trunk@1599 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/jim.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |