From 5f0e17501c9e9e59fed24296e5870fb9fa05e6d7 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Oct 2014 13:27:47 +0200 Subject: use ISO C11 standard --- Makefile | 2 +- mpd-notification.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 #include -- cgit v1.2.3-70-g09d2