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>.
This commit is contained in:
Marc Kleine-Budde authored and Jim Meyering committed 2010-04-04 09:15:07 +02:00
1 parent b48a444e35
commit 98dacf492e
1 file changed
+2
+2
View 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