summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)