diff options
author | Eric Andersen <andersen@codepoet.org> | 2004-08-20 20:46:01 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2004-08-20 20:46:01 +0000 |
commit | e50f6d1c15483fc17323ecdd427f4a84c018f3af (patch) | |
tree | 7afc6caf3a8cb302c3ddf4546bb0c1edc3ce95f5 /libc/sysdeps/linux | |
parent | 508c29407e478cec1b6db44b8fb2ac94f5c8a8d7 (diff) |
Enable only for architectures where __NR_madvise is defined
-Erik
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/common/madvise.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/madvise.c b/libc/sysdeps/linux/common/madvise.c index 9fe6531ee..e24095729 100644 --- a/libc/sysdeps/linux/common/madvise.c +++ b/libc/sysdeps/linux/common/madvise.c @@ -8,4 +8,6 @@ */ #include "syscalls.h" +#ifdef __NR_madvise _syscall3(int, madvise, void *, __addr, size_t, __len, int, __advice); +#endif |