aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2015-01-25 10:52:10 +0100
committerChristoph Lohmann <20h@r-36.net>2015-01-25 10:52:10 +0100
commitc2ce9be47170115a7fa301cc6e93da63847fb860 (patch)
treee43e2a44700070bc8659fad75cce4d7c73243c04
parent74115f685f6b874b4e40874f4f3bd14d71df5e97 (diff)
My libc wants _DEFAULT_SOURCE.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 5279711..dd741e4 100644
--- a/config.mk
+++ b/config.mk
@@ -12,7 +12,7 @@ INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc -lX11
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}