From: Ulrich Drepper Date: Tue, 18 Jan 2000 10:25:58 +0000 (+0000) Subject: Fix includes. Define STAT. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e2398afe0932aac42cf2233fbee262d4489f8e1;p=thirdparty%2Fglibc.git Fix includes. Define STAT. --- diff --git a/sysdeps/unix/sysv/linux/statvfs.c b/sysdeps/unix/sysv/linux/statvfs.c index 9bbe6c2f99d..7f85c9b7260 100644 --- a/sysdeps/unix/sysv/linux/statvfs.c +++ b/sysdeps/unix/sysv/linux/statvfs.c @@ -18,8 +18,12 @@ Boston, MA 02111-1307, USA. */ #include -#include -#include +#include +#include +#include +#include +#include +#include #include @@ -30,11 +34,12 @@ statvfs (const char *file, struct statvfs *buf) struct stat st; /* Get as much information as possible from the system. */ - if (__statfs (fd, &fsbuf) < 0) + if (__statfs (file, &fsbuf) < 0) return -1; +#define STAT(st) stat (file, st) #include "internal_statvfs.c" - + /* We signal success if the statfs call succeeded. */ return 0; }