OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7485d23
)
enable test if LFS is enabled
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 22 Feb 2006 00:51:01 +0000
(
00:51
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 22 Feb 2006 00:51:01 +0000
(
00:51
-0000)
test/mmap/mmap64.c
patch
|
blob
|
history
diff --git
a/test/mmap/mmap64.c
b/test/mmap/mmap64.c
index
7886ccd
..
87165fe
100644
(file)
--- 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,