Browse Source

Oops. Fix up stat. Again.

Eric Andersen 24 years ago
parent
commit
a34c58f20f
2 changed files with 2 additions and 1 deletions
  1. 1 1
      libc/sysdeps/linux/common/Makefile
  2. 1 0
      libc/sysdeps/linux/common/statfix.h

+ 1 - 1
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))
 
 

+ 1 - 0
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