about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/unix/sysv/linux/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/sysdeps/unix/sysv/linux/fork.c')
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/fork.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/fork.c b/linuxthreads/sysdeps/unix/sysv/linux/fork.c
index 49f1b088c5..443fb2b168 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/fork.c
+++ b/linuxthreads/sysdeps/unix/sysv/linux/fork.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002 Free Software Foundation, Inc.
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Jakub Jelinek <jakub@redhat.com>, 2002.
 
@@ -21,7 +21,9 @@
 #include <fork.h>
 #include <bits/libc-lock.h>
 
+#ifndef SHARED
 weak_extern (__pthread_fork);
+#endif
 
 struct fork_block __fork_block =
 {