aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-05-18 23:12:14 +0200
committerMax Kellermann <max@duempel.org>2010-05-18 23:13:05 +0200
commit4461c3d5d1bdc23ea361ebe0be0a117fa357236a (patch)
tree9e1923884c07b2f33b07c6a9562259ec502797db
parentfef46bcf495a5e5661857a9a2ea2c6348cd6c3a3 (diff)
downloadmpd-4461c3d5d1bdc23ea361ebe0be0a117fa357236a.tar.gz
mpd-4461c3d5d1bdc23ea361ebe0be0a117fa357236a.tar.xz
mpd-4461c3d5d1bdc23ea361ebe0be0a117fa357236a.zip
daemon: include glib.h on WIN32 for g_error()
-rw-r--r--src/daemon.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon.h b/src/daemon.h
index 971035c05..4dad7e18d 100644
--- a/src/daemon.h
+++ b/src/daemon.h
@@ -48,6 +48,7 @@ daemonize_finish(void)
void
daemonize_kill(void);
#else
+#include <glib.h>
static inline void
daemonize_kill(void)
{ g_error("--kill is not available on WIN32"); }