summaryrefslogtreecommitdiff
path: root/libc/stdlib/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib/system.c')
-rw-r--r--libc/stdlib/system.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 7026a8d20..4f54d1df9 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -18,7 +18,10 @@
#endif
-#if !defined __UCLIBC_HAS_THREADS_NATIVE__
+/* TODO: the cancellable version breaks on sparc currently,
+ * need to figure out why still
+ */
+#if !defined __UCLIBC_HAS_THREADS_NATIVE__ || defined __sparc__
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
#ifndef __NR_vfork