From e8dab1db9491b844358754d79c6848e15a1fc3ee Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 28 Jun 2017 18:40:54 +0200 Subject: [PATCH] config.mk: fix warning about strptime on glibc --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 962aa47..e0bd837 100644 --- a/config.mk +++ b/config.mk @@ -8,7 +8,7 @@ PREFIX = /usr/local MANPREFIX = $(PREFIX)/man # flags -CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE +CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=700 -D_BSD_SOURCE CFLAGS = -std=c99 -pedantic -Wall -Os LDFLAGS = -s