summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-12-16 02:52:30 -0800
committerAustin Foxley <austinf@cetoncorp.com>2009-12-16 02:52:30 -0800
commitae030fbef45996424def8c4b0bb5cb1c26b5bd9d (patch)
treeee243e8481e3ed0feec0bcbed88f8516a2d5028f /libpthread/nptl/sysdeps/unix/sysv/linux/x86_64
parent23cfec40b3302fda307ca9faec2f1597b3d7aebb (diff)
fix multiple definitions of pthread_once for x86_64
also add a missing weak for clone Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/x86_64')
-rw-r--r--libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S
index 3fb89e419..d8bfa26c6 100644
--- a/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S
+++ b/libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S
@@ -17,6 +17,8 @@
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
+#include <sysdep.h>
+
#ifndef UP
# define LOCK lock
#else