[hackers] [dwm] Shut up glibc about _BSD_SOURCE being deprecated || Quentin Rameau

From: <git_AT_suckless.org>
Date: Sat, 19 Dec 2015 20:20:58 +0100 (CET)

commit 4ec3a673ff81275a9157d6801ea4a2b17031e5ba
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Dec 19 20:04:19 2015 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sat Dec 19 20:20:26 2015 +0100

    Shut up glibc about _BSD_SOURCE being deprecated

diff --git a/config.mk b/config.mk
index 4eefb71..80dc936 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -25,7 +25,7 @@ INCS = -I${X11INC} -I${FREETYPEINC}
 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
 
 # flags
-CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
 #CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
 CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = -s ${LIBS}
Received on Sat Dec 19 2015 - 20:20:58 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 19 2015 - 20:24:18 CET