summaryrefslogtreecommitdiff
path: root/src/helper
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-03 15:11:17 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-03 15:11:17 +0000
commitca3d4db1e335af2adbc5424d28e7327dc174e404 (patch)
tree82b43e33c0fe40da40ab7b6adcc14c30eabf7f0b /src/helper
parent1f84e5ac57ac5ecbf95dd78f86b66faac6db6718 (diff)
downloadopenocd+libswd-ca3d4db1e335af2adbc5424d28e7327dc174e404.tar.gz
openocd+libswd-ca3d4db1e335af2adbc5424d28e7327dc174e404.tar.bz2
openocd+libswd-ca3d4db1e335af2adbc5424d28e7327dc174e404.tar.xz
openocd+libswd-ca3d4db1e335af2adbc5424d28e7327dc174e404.zip
Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@1595 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/helper')
-rw-r--r--src/helper/jim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/jim.c b/src/helper/jim.c
index ad2d6ec5..f0d17525 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 ! HAVE_UNISTD_H || IS_DARWIN
extern char **environ;
#endif