summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2010-04-04 09:15:07 +0200
committerJim Meyering <meyering@redhat.com>2010-04-04 09:15:07 +0200
commit98dacf492e2e6f2153455cb4179058578cee20ff (patch)
tree0ddb05b739797d311489c4fa9b53d27312030da8 /src
parentb48a444e351f6c974af35f11eca7ba0106fedcc4 (diff)
downloadcoreutils-98dacf492e2e6f2153455cb4179058578cee20ff.tar.xz
tail: include sys/vfs.h (if possible) when sys/statfs.h is absent
* src/tail.c [HAVE_INOTIFY && !HAVE_SYS_STATFS_H]: Include <sys/vfs.h>.
Diffstat (limited to 'src')
-rw-r--r--src/tail.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tail.c b/src/tail.c
index 02c4a1a1d..9e95dee7e 100644
--- a/src/tail.c
+++ b/src/tail.c
@@ -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