aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2014-10-17 13:27:47 +0200
committerGravatar Christian Hesse <mail@eworm.de>2014-10-17 13:27:47 +0200
commit5f0e17501c9e9e59fed24296e5870fb9fa05e6d7 (patch)
treeb34529b7e8016466793bbe57168ba39d23977b86
parent1008e35a3ad996280992080832bb54ad9bd9f36e (diff)
downloadmpd-notification-5f0e17501c9e9e59fed24296e5870fb9fa05e6d7.tar.gz
mpd-notification-5f0e17501c9e9e59fed24296e5870fb9fa05e6d7.tar.zst
use ISO C11 standard
-rw-r--r--Makefile2
-rw-r--r--mpd-notification.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ebafd6..9502e74 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# mpd-notification - Notify about tracks played by mpd
-CC := gcc
+CC := gcc -std=c11
MD := markdown
INSTALL := install
CP := cp
diff --git a/mpd-notification.h b/mpd-notification.h
index 7ff485c..0a32b97 100644
--- a/mpd-notification.h
+++ b/mpd-notification.h
@@ -8,6 +8,8 @@
#ifndef MPD_NOTIFICATION_H
#define MPD_NOTIFICATION_H
+#define _GNU_SOURCE
+
#include <mpd/client.h>
#include <libnotify/notify.h>