commit 6ec37625f83b8d71b6cb0421a46f3e5d1c37fe00
parent bd2e9e66ffda25e583b2978d1f84163b15f301db
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 27 Jun 2017 21:33:41 +0200
config.mk: fix compiler warning, just use DEFAULT_SOURCE
warning was:
warning: implicit declaration of function 'strptime'
warning: implicit declaration of function 'setgroups'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -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