aboutsummaryrefslogtreecommitdiffstats
path: root/src/listen.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/listen.h')
-rw-r--r--src/listen.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/listen.h b/src/listen.h
index 63253fc53..9f55edb88 100644
--- a/src/listen.h
+++ b/src/listen.h
@@ -20,9 +20,14 @@
#ifndef MPD_LISTEN_H
#define MPD_LISTEN_H
+#include <glib.h>
+
+#include <stdbool.h>
+
extern int listen_port;
-void listen_global_init(void);
+bool
+listen_global_init(GError **error_r);
void listen_global_finish(void);