summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--io/Makefile2
-rw-r--r--io/sys/vfs.h4
3 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index be22dcfd36..1ff1a3ae90 100644
--- 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).
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>