aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-25 10:25:08 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-25 10:25:08 +0000
commitc1fac80331ab5740c240c0c2baeca19225626d47 (patch)
tree5d06e0d07bee835717c62fba3a3b9efffc0b5ffe /sysdeps
parent87d2f3f00a4ca5d693855a7202ec0036dd8b23a6 (diff)
downloadglibc-c1fac80331ab5740c240c0c2baeca19225626d47.tar
glibc-c1fac80331ab5740c240c0c2baeca19225626d47.tar.gz
glibc-c1fac80331ab5740c240c0c2baeca19225626d47.tar.bz2
glibc-c1fac80331ab5740c240c0c2baeca19225626d47.zip
Update.
* include/sys/statvfs.h: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/posix/fpathconf.c1
-rw-r--r--sysdeps/posix/pathconf.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/posix/fpathconf.c b/sysdeps/posix/fpathconf.c
index c92afb9439..93f0b99590 100644
--- a/sysdeps/posix/fpathconf.c
+++ b/sysdeps/posix/fpathconf.c
@@ -21,6 +21,7 @@
#include <unistd.h>
#include <limits.h>
#include <sys/statfs.h>
+#include <sys/statvfs.h>
/* Get file-specific information about descriptor FD. */
diff --git a/sysdeps/posix/pathconf.c b/sysdeps/posix/pathconf.c
index f6d0253f69..edb3961c67 100644
--- a/sysdeps/posix/pathconf.c
+++ b/sysdeps/posix/pathconf.c
@@ -22,6 +22,8 @@
#include <limits.h>
#include <fcntl.h>
#include <sys/statfs.h>
+#include <sys/statvfs.h>
+
/* Get file-specific information about PATH. */
long int
@@ -163,7 +165,6 @@ __pathconf (const char *path, int name)
return 32;
#endif
-
case _PC_REC_INCR_XFER_SIZE:
/* XXX It is not entirely clear what the limit is supposed to do.
What is incremented? */