summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/stubs.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-03-18 15:37:35 +0100
committerKhem Raj <raj.khem@gmail.com>2011-03-19 11:51:25 -0700
commit251f2266bf24b1b396f59eef60d0acf41fdd02e4 (patch)
tree29fc55105ba0c08e6b782c7bf7774d3de6890fd0 /libc/sysdeps/linux/common/stubs.c
parent0c18923cbc0123a2c940cb659b765ad1b303974c (diff)
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 <sedat.dilek@googlemail.com> Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/stubs.c')
-rw-r--r--libc/sysdeps/linux/common/stubs.c8
1 files changed, 8 insertions, 0 deletions
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