about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
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?  */