|
@@ -18,13 +18,14 @@
|
|
#include <sysdep-cancel.h>
|
|
#include <sysdep-cancel.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-extern __typeof(system) __libc_system;
|
|
+#if !defined __UCLIBC_HAS_THREADS_NATIVE__
|
|
-
|
|
+
|
|
-
|
|
+#include <sys/syscall.h>
|
|
- * need to figure out why still
|
|
+#ifndef __NR_vfork
|
|
- */
|
|
+# define vfork fork
|
|
-#if !defined __UCLIBC_HAS_THREADS_NATIVE__ || defined __sparc__
|
|
+#endif
|
|
|
|
|
|
|
|
+extern __typeof(system) __libc_system;
|
|
int __libc_system(const char *command)
|
|
int __libc_system(const char *command)
|
|
{
|
|
{
|
|
int wait_val, pid;
|
|
int wait_val, pid;
|