* io/Makefile (headers): Add sys/vfs.h.
authorRoland McGrath <roland@gnu.org>
Sun, 7 Jul 1996 23:23:51 +0000 (23:23 +0000)
committerRoland McGrath <roland@gnu.org>
Sun, 7 Jul 1996 23:23:51 +0000 (23:23 +0000)
* io/sys/vfs.h: New file.

ChangeLog
io/Makefile
io/sys/vfs.h [new file with mode: 0644]

index be22dcf..1ff1a3a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Sun Jul  7 18:42:06 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
+       * io/Makefile (headers): Add sys/vfs.h.
+       * io/sys/vfs.h: New file.
+
        * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Don't unlock the
        critical section lock before unlinking dying active resources.
        The unlock just before return is right (i.e. old code unlocked twice).
index 8648235..552a3db 100644 (file)
@@ -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 (file)
index 0000000..fa22d31
--- /dev/null
@@ -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>