diff options
Diffstat (limited to 'src/InotifyUpdate.cxx')
-rw-r--r-- | src/InotifyUpdate.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/InotifyUpdate.cxx b/src/InotifyUpdate.cxx index 9fe657a1b..0fe22385b 100644 --- a/src/InotifyUpdate.cxx +++ b/src/InotifyUpdate.cxx @@ -22,6 +22,7 @@ #include "InotifySource.hxx" #include "InotifyQueue.hxx" #include "Mapper.hxx" +#include "Main.hxx" extern "C" { #include "path.h" @@ -342,7 +343,7 @@ mpd_inotify_init(unsigned max_depth) recursive_watch_subdirectories(&inotify_root, path, 0); - inotify_queue = new InotifyQueue(); + inotify_queue = new InotifyQueue(*main_loop); g_debug("watching music directory"); } |