about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-22 19:32:50 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-22 19:32:50 +0000
commite781d7c58f7d2386674aa5ee92badccb76f630f6 (patch)
treee1911b3f363b20fc92b02483afe7368ad960eb96
parentd8412221e602c0184b4b4fd2e3effa970cbc6fa4 (diff)
downloadglibc-e781d7c58f7d2386674aa5ee92badccb76f630f6.tar.gz
glibc-e781d7c58f7d2386674aa5ee92badccb76f630f6.tar.xz
glibc-e781d7c58f7d2386674aa5ee92badccb76f630f6.zip
Include <string.h> in nptl/pthread_setattr_default_np.c.
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/pthread_setattr_default_np.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 0e3b0187c4..875bdbdca4 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -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.
diff --git a/nptl/pthread_setattr_default_np.c b/nptl/pthread_setattr_default_np.c
index e0b5239612..c4624b3d4d 100644
--- a/nptl/pthread_setattr_default_np.c
+++ b/nptl/pthread_setattr_default_np.c
@@ -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)