aboutsummaryrefslogtreecommitdiffstats
path: root/src/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon.h')
-rw-r--r--src/daemon.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/daemon.h b/src/daemon.h
index 4dad7e18d..71039543c 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -20,6 +20,8 @@
#ifndef DAEMON_H
#define DAEMON_H
+#include "mpd_error.h"
+
#include <stdbool.h>
#ifndef WIN32
@@ -51,7 +53,7 @@ daemonize_kill(void);
#include <glib.h>
static inline void
daemonize_kill(void)
-{ g_error("--kill is not available on WIN32"); }
+{ MPD_ERROR("--kill is not available on WIN32"); }
#endif
/**