summaryrefslogtreecommitdiff
path: root/lib/libc/gen/waitpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/waitpid.c')
-rw-r--r--lib/libc/gen/waitpid.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/waitpid.c b/lib/libc/gen/waitpid.c
index 3f679a7ebea73..350157a9c393e 100644
--- a/lib/libc/gen/waitpid.c
+++ b/lib/libc/gen/waitpid.c
@@ -55,4 +55,6 @@ __waitpid(pid, istat, options)
return (wait4(pid, istat, options, (struct rusage *)0));
}
+#ifndef _THREAD_SAFE
__weak_reference(__waitpid, waitpid);
+#endif