Hello, Another trivial patch for non-linux support. Samuel Include <sys/inotify.h> only when inotify_init() was detected Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> diff --git a/text-utils/tailf.c b/text-utils/tailf.c index e30e22f..2f69aab 100644 --- a/text-utils/tailf.c +++ b/text-utils/tailf.c @@ -38,7 +38,9 @@ #include <fcntl.h> #include <ctype.h> #include <errno.h> #include <err.h> +#ifdef HAVE_INOTIFY_INIT #include <sys/inotify.h> +#endif #include "nls.h" #define DEFAULT_LINES 10 - To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html