summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-03 15:21:40 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-03 15:21:40 +0000
commit6f449ff098195ec6e307629ed43eb8697f4cccfa (patch)
tree2256a26ea5336815e0e170f538f86d6a95a4efbb /src
parentca3d4db1e335af2adbc5424d28e7327dc174e404 (diff)
downloadopenocd+libswd-6f449ff098195ec6e307629ed43eb8697f4cccfa.tar.gz
openocd+libswd-6f449ff098195ec6e307629ed43eb8697f4cccfa.tar.bz2
openocd+libswd-6f449ff098195ec6e307629ed43eb8697f4cccfa.tar.xz
openocd+libswd-6f449ff098195ec6e307629ed43eb8697f4cccfa.zip
Fix compilation when HAVE_UNISTD_H is not defined.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1596 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-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 f0d17525..e0f84565 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) {
-#if ! HAVE_UNISTD_H || IS_DARWIN
+#if !defined(HAVE_UNISTD_H) || IS_DARWIN
extern char **environ;
#endif