diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-04-04 09:15:07 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-04-04 09:15:07 +0200 |
commit | 98dacf492e2e6f2153455cb4179058578cee20ff (patch) | |
tree | 0ddb05b739797d311489c4fa9b53d27312030da8 /src | |
parent | b48a444e351f6c974af35f11eca7ba0106fedcc4 (diff) | |
download | coreutils-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.c | 2 |
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 |