From 43682eb4b5aad74cb2d31ae87651843d489eb602 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Wed, 10 Jan 2024 22:24:12 +0100 Subject: move ifd into #ifdef --- mlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlog.c b/mlog.c index 566d5d4..1b7fe13 100644 --- a/mlog.c +++ b/mlog.c @@ -15,6 +15,7 @@ #ifdef USE_INOTIFY #include #include +int ifd; #endif int uflag; /* remove duplicates */ @@ -36,7 +37,6 @@ struct logfile { struct logfile *logs; int logcnt; -int ifd; int spacestrcmp(const char *a, const char *b) { -- cgit 1.4.1