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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/libc/stdlib/system.c b/newlib/libc/stdlib/system.c
index ad2217743..0b5d9a149 100644
--- a/newlib/libc/stdlib/system.c
+++ b/newlib/libc/stdlib/system.c
@@ -179,6 +179,7 @@ do_system (ptr, s)
return -1;
else
{
+ extern int _wait (int *);
int rc = _wait (&status);
if (rc == -1)
return -1;