diff options
author | Leah Neukirchen <leah@vuxu.org> | 2024-01-10 22:24:12 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2024-01-10 22:24:12 +0100 |
commit | 43682eb4b5aad74cb2d31ae87651843d489eb602 (patch) | |
tree | 6cf4dd90dda5d2ebfefcb24042a2c5528ca42041 | |
parent | dd85c5ff60d33adc748cd570a9d77edfd0881115 (diff) | |
download | mlog-43682eb4b5aad74cb2d31ae87651843d489eb602.tar.gz mlog-43682eb4b5aad74cb2d31ae87651843d489eb602.tar.xz mlog-43682eb4b5aad74cb2d31ae87651843d489eb602.zip |
move ifd into #ifdef
-rw-r--r-- | mlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 <sys/poll.h> #include <sys/inotify.h> +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) { |