From 311491bcfb126639d617da87d3a58ffafd66bb3a Mon Sep 17 00:00:00 2001 From: "S.J.R. van Schaik" Date: Thu, 27 Jul 2017 10:40:43 +0200 Subject: [PATCH] make: define _XOPEN_SOURCE for strptime() --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 837283a..831c736 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,7 @@ all: $(BUILD)/tbm CFLAGS += -Iinclude CFLAGS += -Wall -Wundef -Wextra -Wshadow -Wimplicit-function-declaration CFLAGS += -Wredundant-decls -Wmissing-prototypes -Wstrict-prototypes -pedantic +CFLAGS += -D_XOPEN_SOURCE CFLAGS += -std=c99 CFLAGS += -Os