From 7b79e28360e1b62dfbac95fd07d671be12697409 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Tue, 21 Oct 2014 14:12:01 +0200 Subject: use ISO C11 standard --- lib/Makefile | 2 +- lib/libcqrlogo.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile b/lib/Makefile index 93cd374..d5fb710 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -2,7 +2,7 @@ CC := gcc LN := ln -CFLAGS += -O2 -Wall -Werror +CFLAGS += -std=c11 -O2 -Wall -Werror CFLAGS += -liniparser CFLAGS += $(shell pkg-config --cflags --libs libpng) CFLAGS += $(shell pkg-config --cflags --libs zlib) diff --git a/lib/libcqrlogo.h b/lib/libcqrlogo.h index 59ee885..0a8429b 100644 --- a/lib/libcqrlogo.h +++ b/lib/libcqrlogo.h @@ -8,6 +8,8 @@ #ifndef _LIBCQRLOGO_H #define _LIBCQRLOGO_H +#define _GNU_SOURCE + #include #include #include -- cgit v1.2.3-70-g09d2