uClibc-0.9.33.1-mmap64-include-stdint.h-for-uint64_t.patch 841 B

12345678910111213141516171819202122232425262728
  1. From 47009e1e1c6b721c38b5ffa2eeb9202fb8db298a Mon Sep 17 00:00:00 2001
  2. From: Mike Frysinger <vapier@gentoo.org>
  3. Date: Wed, 11 Apr 2012 16:01:29 -0400
  4. Subject: [PATCH 1/2] mmap64: include stdint.h for uint64_t
  5. Some targets include this implicitly, but pull it in explicitly for those
  6. which don't to fix building for them.
  7. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
  8. ---
  9. libc/sysdeps/linux/common/mmap64.c | 1 +
  10. 1 files changed, 1 insertions(+), 0 deletions(-)
  11. diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c
  12. index 3c97c84..cebf961 100644
  13. --- a/libc/sysdeps/linux/common/mmap64.c
  14. +++ b/libc/sysdeps/linux/common/mmap64.c
  15. @@ -10,6 +10,7 @@
  16. #ifdef __UCLIBC_HAS_LFS__
  17. #include <errno.h>
  18. +#include <stdint.h>
  19. #include <unistd.h>
  20. #include <sys/mman.h>
  21. #include <sys/syscall.h>
  22. --
  23. 1.7.3.4