[hackers] [quark] config.mk: fix warning about strptime on glibc || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Wed, 28 Jun 2017 20:20:24 +0200 (CEST)

commit e8dab1db9491b844358754d79c6848e15a1fc3ee
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Wed Jun 28 18:40:54 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Wed Jun 28 20:20:10 2017 +0200

    config.mk: fix warning about strptime on glibc

diff --git a/config.mk b/config.mk
index 962aa47..e0bd837 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -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
 
Received on Wed Jun 28 2017 - 20:20:24 CEST

This archive was generated by hypermail 2.3.0 : Wed Jun 28 2017 - 20:24:29 CEST