Include <string.h> in sysdeps/unix/sysv/linux/mmap64.c.

This commit is contained in:
Joseph Myers 2013-08-20 19:38:23 +00:00
parent 42c8fdd8f1
commit 0716c4fc9f
2 changed files with 3 additions and 0 deletions

View File

@ -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.

View File

@ -19,6 +19,7 @@
#include <errno.h>
#include <unistd.h>
#include <sys/mman.h>
#include <string.h>
#include <sysdep.h>
#include <sys/syscall.h>