summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-01-10 00:47:45 +0100
committerHiltjo Posthuma <hiltjo@codemadness.org>2016-01-13 21:58:08 +0100
commitd8bad43b3c67a344fe78b6bdab36d414ed9ff13b (patch)
treea5eccca77c0501d2587bc1ca204fd2f47d6ec7f4 /config.mk
parent79fab7c6faf78d7bcc0c870359138617aee24c7d (diff)
stop glibc complaining about _BSD_SOURCE being deprecated
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index 52ec91c..27835fa 100644
--- a/config.mk
+++ b/config.mk
@@ -13,7 +13,7 @@ LIBS = -L${GITLIB} -lgit2 -lc
# debug
CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
- -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
+ -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
LDFLAGS = ${LIBS}
# optimized