[hackers] [quark] config.mk: fix compiler warning, just use DEFAULT_SOURCE || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 27 Jun 2017 23:31:28 +0200 (CEST)

commit 6ec37625f83b8d71b6cb0421a46f3e5d1c37fe00
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Tue Jun 27 21:33:41 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Tue Jun 27 23:31:08 2017 +0200

    config.mk: fix compiler warning, just use DEFAULT_SOURCE
    
    warning was:
    warning: implicit declaration of function 'strptime'
    warning: implicit declaration of function 'setgroups'

diff --git a/config.mk b/config.mk
index b6e5e96..962aa47 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 -D_XOPEN_SOURCE
+CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE
 CFLAGS = -std=c99 -pedantic -Wall -Os
 LDFLAGS = -s
 
Received on Tue Jun 27 2017 - 23:31:28 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 27 2017 - 23:36:19 CEST