From 251f2266bf24b1b396f59eef60d0acf41fdd02e4 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Fri, 18 Mar 2011 15:37:35 +0100 Subject: lutimes.c, stubs.c: fix compiling lutimes, if __NR_utimensat is not defined while there, provide stubs for functions depending on utimensat syscall. Reported-by: Sedat Dilek Signed-off-by: Peter S. Mazinger Signed-off-by: Khem Raj --- libc/sysdeps/linux/common/stubs.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libc/sysdeps/linux/common/stubs.c') diff --git a/libc/sysdeps/linux/common/stubs.c b/libc/sysdeps/linux/common/stubs.c index 8688e98a1..655c64001 100644 --- a/libc/sysdeps/linux/common/stubs.c +++ b/libc/sysdeps/linux/common/stubs.c @@ -172,6 +172,14 @@ make_stub(umount) make_stub(umount2) #endif +#ifndef __NR_utimensat +make_stub(futimens) +make_stub(utimensat) +# ifndef __NR_lutimes +make_stub(lutimes) +# endif +#endif + #ifndef __NR_vmsplice make_stub(vmsplice) #endif -- cgit v1.2.3