diff options
Diffstat (limited to 'test/mmap')
-rw-r--r-- | test/mmap/mmap64.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mmap/mmap64.c b/test/mmap/mmap64.c index 7886ccd29..87165fe20 100644 --- a/test/mmap/mmap64.c +++ b/test/mmap/mmap64.c @@ -7,10 +7,11 @@ #include <stdlib.h> #include <unistd.h> #include <sys/mman.h> +#include <features.h> int main(int argc, char **argv) { -#ifdef __NR_mmap64 +#ifdef __UCLIBC_HAS_LFS__ void *ptr; ptr = mmap64(NULL, 4096, PROT_READ|PROT_WRITE, |