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