summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdlib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdlib/system.c')
-rw-r--r--newlib/libc/stdlib/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index 770996e57..cc12411e3 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -106,7 +106,7 @@ system (s)
#endif
-#if defined (unix) && !defined (__CYGWIN__)
+#if defined (unix) && !defined (__CYGWIN__) && !defined(__rtems__)
extern char **environ;
/* Only deal with a pointer to environ, to work around subtle bugs with shared