summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-11 16:01:29 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-11 16:06:29 -0400
commit47009e1e1c6b721c38b5ffa2eeb9202fb8db298a (patch)
tree6f86e298e2b235d740efe8902e366cf042a35ba3 /libc/sysdeps/linux
parent3d744d6d363329d064fb5ad461054e3e9eff1722 (diff)
mmap64: include stdint.h for uint64_t
Some targets include this implicitly, but pull it in explicitly for those which don't to fix building for them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/common/mmap64.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c
index 3c97c846a..cebf9610f 100644
--- a/libc/sysdeps/linux/common/mmap64.c
+++ b/libc/sysdeps/linux/common/mmap64.c
@@ -10,6 +10,7 @@
#ifdef __UCLIBC_HAS_LFS__
#include <errno.h>
+#include <stdint.h>
#include <unistd.h>
#include <sys/mman.h>
#include <sys/syscall.h>