summary refs log tree commit diff
path: root/io
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-07-07 23:23:51 +0000
committerRoland McGrath <roland@gnu.org>1996-07-07 23:23:51 +0000
commitfaf85e08bcc5e1fd3d418b9ce11c8f2649d8415f (patch)
treee9a8274d604c4d6fcfec56bceb3018f810a30802 /io
parente851d072c2305fd9ae6e75b73ce8fdd8cf3a4b2e (diff)
downloadglibc-faf85e08bcc5e1fd3d418b9ce11c8f2649d8415f.tar.gz
glibc-faf85e08bcc5e1fd3d418b9ce11c8f2649d8415f.tar.xz
glibc-faf85e08bcc5e1fd3d418b9ce11c8f2649d8415f.zip
* io/Makefile (headers): Add sys/vfs.h.
	* io/sys/vfs.h: New file.
Diffstat (limited to 'io')
-rw-r--r--io/Makefile2
-rw-r--r--io/sys/vfs.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/io/Makefile b/io/Makefile
index 8648235463..552a3db255 100644
--- a/io/Makefile
+++ b/io/Makefile
@@ -21,7 +21,7 @@
 #
 subdir	:= io
 
-headers := sys/stat.h statbuf.h sys/statfs.h statfsbuf.h \
+headers := sys/stat.h statbuf.h sys/statfs.h statfsbuf.h sys/vfs.h \
 	   fcntl.h sys/fcntl.h fcntlbits.h \
 	   poll.h sys/poll.h \
 	   utime.h ftw.h fts.h
diff --git a/io/sys/vfs.h b/io/sys/vfs.h
new file mode 100644
index 0000000000..fa22d31c4c
--- /dev/null
+++ b/io/sys/vfs.h
@@ -0,0 +1,4 @@
+/* Other systems declare `struct statfs' et al in <sys/vfs.h>,
+   so we have this file to be compatible with programs expecting it.  */
+
+#include <sys/statfs.h>