From 4708fa8f35f370e7da8befad594250f8317009c9 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Fri, 17 Oct 2014 12:07:50 +0200 Subject: use ISO C11, the 2011 revision of the ISO C standard In traditional mode preprocessing directives are recognized only when their leading `#' appears in the first column. There can be no whitespace between the beginning of the line and the `#'. So use ISO C11 and close #4. (I hope so.) --- Makefile | 2 +- udev-block-notify.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4152182..6c7049f 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ # udev-block-notify - Notify about udev block events -CC := gcc +CC := gcc -std=c11 MD := markdown INSTALL := install RM := rm diff --git a/udev-block-notify.c b/udev-block-notify.c index e71c6c3..e05e13b 100644 --- a/udev-block-notify.c +++ b/udev-block-notify.c @@ -5,6 +5,8 @@ * of the GNU General Public License, incorporated herein by reference. */ +#define _GNU_SOURCE + #include #include #include -- cgit v1.2.3-70-g09d2