From deb2329b42c6558e78e876922c80c1b8b5b48f69 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 17 Dec 2007 23:52:39 +0000 Subject: [PATCH] tailf: non-linux support Include only when inotify_init() was detected Signed-off-by: Samuel Thibault --- text-utils/tailf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/text-utils/tailf.c b/text-utils/tailf.c index e30e22f8..2f69aabf 100644 --- a/text-utils/tailf.c +++ b/text-utils/tailf.c @@ -38,7 +38,9 @@ #include #include #include +#ifdef HAVE_INOTIFY_INIT #include +#endif #include "nls.h" #define DEFAULT_LINES 10 -- 2.39.5