| tstop glibc complaining about _BSD_SOURCE being deprecated - stagit - static gi… | |
| git clone git://src.adamsgaard.dk/stagit | |
| Log | |
| Files | |
| Refs | |
| README | |
| LICENSE | |
| --- | |
| commit d8bad43b3c67a344fe78b6bdab36d414ed9ff13b | |
| parent 79fab7c6faf78d7bcc0c870359138617aee24c7d | |
| Author: Quentin Rameau <[email protected]> | |
| Date: Sun, 10 Jan 2016 00:47:45 +0100 | |
| stop glibc complaining about _BSD_SOURCE being deprecated | |
| Diffstat: | |
| M config.mk | 2 +- | |
| 1 file changed, 1 insertion(+), 1 deletion(-) | |
| --- | |
| diff --git a/config.mk b/config.mk | |
| t@@ -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 |