about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-08-20 19:38:23 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-08-20 19:38:23 +0000
commit0716c4fc9fff70870e28f84d18ddbce1db162101 (patch)
tree9deda8f5f8b208dfbbd7d99174109fc8a3fd031e
parent42c8fdd8f1d3245a0abf957fc9f0a6eb35145643 (diff)
downloadglibc-0716c4fc9fff70870e28f84d18ddbce1db162101.tar.gz
glibc-0716c4fc9fff70870e28f84d18ddbce1db162101.tar.xz
glibc-0716c4fc9fff70870e28f84d18ddbce1db162101.zip
Include <string.h> in sysdeps/unix/sysv/linux/mmap64.c.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/mmap64.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d6eb8dcd45..70771d634a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
+
 	* sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
 	[MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
 	size.  Use __ffs to determine corresponding shift.
diff --git a/sysdeps/unix/sysv/linux/mmap64.c b/sysdeps/unix/sysv/linux/mmap64.c
index 4ba686c8fb..7d367ca83c 100644
--- a/sysdeps/unix/sysv/linux/mmap64.c
+++ b/sysdeps/unix/sysv/linux/mmap64.c
@@ -19,6 +19,7 @@
 #include <errno.h>
 #include <unistd.h>
 #include <sys/mman.h>
+#include <string.h>
 
 #include <sysdep.h>
 #include <sys/syscall.h>