From 347a5bbe1b6fba26f8e20376bd9d2c97ac0b14ad Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 Oct 2014 14:17:53 +0200 Subject: use ISO C11 standard --- Makefile | 2 +- nullshell.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ece0fae..2e8c530 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ CC := gcc MD := markdown INSTALL := install RM := rm -CFLAGS += -O2 -Wall -Werror +CFLAGS += -std=c11 -O2 -Wall -Werror # this is just a fallback in case you do not use git but downloaded # a release tarball... VERSION := 0.0.5 diff --git a/nullshell.c b/nullshell.c index 7422b4a..ef054ab 100644 --- a/nullshell.c +++ b/nullshell.c @@ -8,6 +8,8 @@ * by Mario A. Valdez-Ramirez (http://www.mariovaldez.net/) */ +#define _GNU_SOURCE + #include #include #include -- cgit v1.2.3-70-g09d2