From a34c58f20fb03a0e40a55ecdf52790fd72a15867 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 29 Oct 2000 06:49:13 +0000 Subject: Oops. Fix up stat. Again. --- libc/sysdeps/linux/common/Makefile | 2 +- libc/sysdeps/linux/common/statfix.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'libc') 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 -- cgit v1.2.3