From: Hiltjo Posthuma Date: Sun, 27 Sep 2015 20:55:21 +0000 (+0200) Subject: config.mk: fix _XOPEN_SOURCE=700 for getline() X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=96e60c66bc85985fe34cfdcd989abc08fc46a5e2;p=dmenu.git config.mk: fix _XOPEN_SOURCE=700 for getline() --- diff --git a/config.mk b/config.mk index 7b08bf1..ea23da4 100644 --- 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=500 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS = -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS}