diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/mmap64.c | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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> |