about summary refs log tree commit diff
path: root/nptl/pthread_rwlock_init.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2011-06-14 13:11:39 -0700
committerRoland McGrath <roland@hack.frob.com>2011-06-14 13:11:39 -0700
commitc71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd (patch)
treeb39e7db31cafff26e95498b2125652c581265002 /nptl/pthread_rwlock_init.c
parent3154bfb8c7fb84fbf7ecdc787752b395579d2ac7 (diff)
downloadglibc-c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd.tar.gz
glibc-c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd.tar.xz
glibc-c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd.zip
Quash two memset undeclared warnings.
Diffstat (limited to 'nptl/pthread_rwlock_init.c')
-rw-r--r--nptl/pthread_rwlock_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_rwlock_init.c b/nptl/pthread_rwlock_init.c
index c0aa194107..9ecd48c347 100644
--- a/nptl/pthread_rwlock_init.c
+++ b/nptl/pthread_rwlock_init.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2007,2009,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include "pthreadP.h"
+#include <string.h>
 #include <kernel-features.h>