aboutsummaryrefslogtreecommitdiff
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
parent* stdio/linewrap.c (lwupdate): New function, mostly was (diff)
downloadglibc-faf85e08bcc5e1fd3d418b9ce11c8f2649d8415f.tar.gz
glibc-faf85e08bcc5e1fd3d418b9ce11c8f2649d8415f.tar.bz2
glibc-faf85e08bcc5e1fd3d418b9ce11c8f2649d8415f.zip
* io/Makefile (headers): Add sys/vfs.h.
* io/sys/vfs.h: New file.
-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>