tNewer libc want _DEFAULT_SOURCE. - surf - customized build of surf, the suckle… | |
git clone git://src.adamsgaard.dk/surf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit a5b85836ac04a82f965a9d7fb2a011d614166610 | |
parent c2da2bae5dbca73f26fe77bb8080e2a90d3cbb1d | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 17 Jan 2015 07:21:15 +0100 | |
Newer libc want _DEFAULT_SOURCE. | |
Diffstat: | |
M config.mk | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
t@@ -18,7 +18,7 @@ INCS = -I. -I/usr/include -I${X11INC} ${GTKINC} | |
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 | |
# flags | |
-CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE | |
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE | |
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} | |
LDFLAGS = -g ${LIBS} | |