summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/mips
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/mips')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S
index fe2b81bc1..f82504329 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/mips/pt-vfork.S
@@ -16,6 +16,7 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <features.h>
#include <tls.h>
/* Save the PID value. */
@@ -34,4 +35,10 @@
sw a2, PID_OFFSET(v1); /* Restore the PID. */ \
1:
+#ifdef __UCLIBC__
+#undef weak_alias
+#define weak_alias(name, aliasname)
+#include <../../../../../../../libc/sysdeps/linux/mips/vfork.S>
+#else
#include <../sysdeps/unix/sysv/linux/mips/vfork.S>
+#endif