summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
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