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

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

commit bf3deb6357f1c864ba6b9771a33dc31e18a68e16
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sat Dec 19 19:58:03 2015 +0100
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Sat Dec 19 20:32:17 2015 +0100

    Shut up glibc about _BSD_SOURCE being deprecated

diff --git a/config.mk b/config.mk
index faea37f..4d908a5 100644
--- a/config.mk
+++ b/config.mk
_AT_@ -23,7 +23,7 @@ INCS = -I${X11INC} -I${FREETYPEINC}
 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
 
 # flags
-CPPFLAGS = -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = -s ${LIBS}
 
Received on Sat Dec 19 2015 - 20:34:02 CET

This archive was generated by hypermail 2.3.0 : Sat Dec 19 2015 - 20:36:23 CET