dmenu

my fork of dmenu
Index Commits Files Refs README LICENSE
commit bf3deb6357f1c864ba6b9771a33dc31e18a68e16
parent 120e8401074254d39be916ad83bafda9ef25e6a9
Author: Quentin Rameau <quinq@fifth.space>
Date:   Sat, 19 Dec 2015 19:58:03 +0100

Shut up glibc about _BSD_SOURCE being deprecated

Diffstat:
Mconfig.mk | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config.mk b/config.mk
@@ -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}