]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tail: include sys/vfs.h (if possible) when sys/statfs.h is absent
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 4 Apr 2010 07:15:07 +0000 (09:15 +0200)
committerJim Meyering <meyering@redhat.com>
Sun, 4 Apr 2010 07:15:07 +0000 (09:15 +0200)
* src/tail.c [HAVE_INOTIFY && !HAVE_SYS_STATFS_H]: Include <sys/vfs.h>.

src/tail.c

index 02c4a1a1dc6005416892084c9cd9eb79c70f22f9..9e95dee7e64bea36553ffeb704f8e3618abd6efe 100644 (file)
@@ -56,6 +56,8 @@
 # include "fs.h"
 # if HAVE_SYS_STATFS_H
 #  include <sys/statfs.h>
+# elif HAVE_SYS_VFS_H
+#  include <sys/vfs.h>
 # endif
 #endif