about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mlog.c2
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)
 {