aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/update/InotifyUpdate.hxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/db/update/InotifyUpdate.hxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/db/update/InotifyUpdate.hxx b/src/db/update/InotifyUpdate.hxx
index 2d7d4e3b4..7cf486e5a 100644
--- a/src/db/update/InotifyUpdate.hxx
+++ b/src/db/update/InotifyUpdate.hxx
@@ -21,11 +21,14 @@
#define MPD_INOTIFY_UPDATE_HXX
#include "check.h"
+#include "Compiler.h"
+
+class EventLoop;
#ifdef HAVE_INOTIFY_INIT
void
-mpd_inotify_init(unsigned max_depth);
+mpd_inotify_init(EventLoop &loop, unsigned max_depth);
void
mpd_inotify_finish(void);
@@ -33,7 +36,7 @@ mpd_inotify_finish(void);
#else /* !HAVE_INOTIFY_INIT */
static inline void
-mpd_inotify_init(gcc_unused unsigned max_depth)
+mpd_inotify_init(gcc_unused EventLoop &loop, gcc_unused unsigned max_depth)
{
}