Add wrapper for system().


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@130 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 8d88efc..2ee0140 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -733,6 +733,13 @@
    return __libc_sendto(s, msg, len, flags, to, tolen);
 }
 
+extern 
+int __libc_system(const char* str);
+int system(const char* str)
+{
+   return __libc_system(str);
+}
+
 
 /*--------------------------------------------------*/