From e9ee7cc0c1fa7aee637f3e9efe2428e2bc45545c Mon Sep 17 00:00:00 2001 From: Kosma Moczek Date: Tue, 2 Sep 2014 22:18:43 +0200 Subject: [PATCH] Makefile: feature test macros to make dumb Linux happy --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 5818208..384143a 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ # published by Sam Hocevar. See the COPYING file for more details. CFLAGS = -g -Wall -Wextra -Werror -std=c99 +CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE LDLIBS = -lcheck all: scan-build test example