Include <string.h> in nptl/pthread_setattr_default_np.c.
authorJoseph Myers <joseph@codesourcery.com>
Sat, 22 Jun 2013 19:32:50 +0000 (19:32 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Sat, 22 Jun 2013 19:32:50 +0000 (19:32 +0000)
nptl/ChangeLog
nptl/pthread_setattr_default_np.c

index 0e3b018..875bdbd 100644 (file)
@@ -1,3 +1,7 @@
+2013-06-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * pthread_getattr_default_np.c: Include <string.h>.
+
 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * Versions (libpthread): Add GLIBC_2.18.
index e0b5239..c4624b3 100644 (file)
@@ -20,6 +20,7 @@
 #include <stdlib.h>
 #include <pthreadP.h>
 #include <assert.h>
+#include <string.h>
 
 int
 pthread_setattr_default_np (const pthread_attr_t *in)