about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-06-22 19:30:10 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-06-22 19:30:10 +0000
commitd8412221e602c0184b4b4fd2e3effa970cbc6fa4 (patch)
treec6211a139bc51dd85ade26ed646170a8fb54302d
parent695c378f81263640618bdebf56eaa065f578251f (diff)
downloadglibc-d8412221e602c0184b4b4fd2e3effa970cbc6fa4.tar.gz
glibc-d8412221e602c0184b4b4fd2e3effa970cbc6fa4.tar.xz
glibc-d8412221e602c0184b4b4fd2e3effa970cbc6fa4.zip
Include <string.h> in sysdeps/unix/sysv/linux/libc_fatal.c.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/libc_fatal.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ca04a70e64..ac92ef1647 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
+
 	[BZ #15667]
 	* soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
 	to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
diff --git a/sysdeps/unix/sysv/linux/libc_fatal.c b/sysdeps/unix/sysv/linux/libc_fatal.c
index 84429cdae0..4e5663da83 100644
--- a/sysdeps/unix/sysv/linux/libc_fatal.c
+++ b/sysdeps/unix/sysv/linux/libc_fatal.c
@@ -20,6 +20,7 @@
 #include <execinfo.h>
 #include <fcntl.h>
 #include <not-cancel.h>
+#include <string.h>
 #include <sys/mman.h>
 #include <sys/uio.h>