From bc608737924c3c87d328b26654a16c7adc01bf4d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 Oct 2014 14:13:31 +0200 Subject: use ISO C11 standard --- Makefile | 2 +- dyndhcpd.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce1fbf9..c515955 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ MD := markdown INSTALL := install RM := rm CP := cp -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.8 diff --git a/dyndhcpd.c b/dyndhcpd.c index 59a197a..16b4941 100644 --- a/dyndhcpd.c +++ b/dyndhcpd.c @@ -7,6 +7,8 @@ * This is an example code skeleton provided by vim-skeleton. */ +#define _GNU_SOURCE + #include #include #include -- cgit v1.2.3-54-g00ecf