Piotr Esden-Tempski <piotr@esden.net> Mac OS X compile fixes
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 3 May 2009 15:11:17 +0000 (15:11 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sun, 3 May 2009 15:11:17 +0000 (15:11 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1595 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/helper/jim.c

index ad2d6ec..f0d1752 100644 (file)
@@ -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