From e50f6d1c15483fc17323ecdd427f4a84c018f3af Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 20 Aug 2004 20:46:01 +0000 Subject: Enable only for architectures where __NR_madvise is defined -Erik --- libc/sysdeps/linux/common/madvise.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc/sysdeps/linux/common/madvise.c') 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 -- cgit v1.2.3