stop glibc complaining about _BSD_SOURCE being deprecated
1 files changed, 1 insertions(+), 1 deletions(-) | |||
---|---|---|---|
M | config.mk | +1 | -1 |
1@@ -13,7 +13,7 @@ LIBS = -L${GITLIB} -lgit2 -lc
2
3 # debug
4 CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
5- -D_XOPEN_SOURCE=700 -D_BSD_SOURCE ${INCS}
6+ -D_XOPEN_SOURCE=700 -D_DEFAULT_SOURCE -D_BSD_SOURCE ${INCS}
7 LDFLAGS = ${LIBS}
8
9 # optimized