]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* 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 be22dcfd361d4eb2bd627ff39c180fc767e25373..1ff1a3ae90ef3b50f7d4d5916d7fb97fd5c364f4 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 86482354631d96d276524dc9ff3230d6093334f1..552a3db25571c5ceffb08ac7e2ed124429ca9b83 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>