aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/sig_handlers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sig_handlers.c b/src/sig_handlers.c
index 7db50c457..4c1bc0442 100644
--- a/src/sig_handlers.c
+++ b/src/sig_handlers.c
@@ -28,6 +28,7 @@
#include <sys/signal.h>
#include <sys/wait.h>
#include <errno.h>
+#include <glib.h>
int handlePendingSignals(void)
{
@@ -50,7 +51,7 @@ int handlePendingSignals(void)
return 0;
}
-static void chldSigHandler(mpd_unused int sig)
+static void chldSigHandler(G_GNUC_UNUSED int sig)
{
int status;
int pid;