summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-29 06:49:13 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-29 06:49:13 +0000
commita34c58f20fb03a0e40a55ecdf52790fd72a15867 (patch)
tree912876178076b71af624669eb414d8f991bc6672 /libc/sysdeps/linux/common
parent87108d9ffaa3e4d4bc761453de093011e0d3398d (diff)
Oops. Fix up stat. Again.
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/Makefile2
-rw-r--r--libc/sysdeps/linux/common/statfix.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
index 1c4b80d20..b08230be2 100644
--- a/libc/sysdeps/linux/common/Makefile
+++ b/libc/sysdeps/linux/common/Makefile
@@ -29,7 +29,7 @@ LIBC=$(TOPDIR)libc.a
CSRC =closedir.o dirfd.o getdnnm.o gethstnm.o getpagesize.o \
isatty.o kernel_version.o mkfifo.o opendir.o readdir.o rewinddir.o \
seekdir.o setegid.o seteuid.o setpgrp.o statfix.o tcgetatr.o tell.o \
- telldir.o wait.o wait3.o _xmknod.o
+ telldir.o wait.o wait3.o _xmknod.o _fxstat.o _lxstat.o _xstat.o
COBJS=$(patsubst %.c,%.o, $(CSRC))
diff --git a/libc/sysdeps/linux/common/statfix.h b/libc/sysdeps/linux/common/statfix.h
index a4fac1d06..21a776c92 100644
--- a/libc/sysdeps/linux/common/statfix.h
+++ b/libc/sysdeps/linux/common/statfix.h
@@ -14,6 +14,7 @@
#undef stat
extern void statfix(struct libc_stat *libcstat, struct kernel_stat *kstat);
+extern int _fxstat(int version, int fd, struct libc_stat * statbuf);
#endif