From 201e9d23524ed687452354a7b3f35a45f78e62c8 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Mon, 3 Apr 2017 02:40:33 -0400 Subject: [PATCH] s/_BSD_SOURCE/_DEFAULT_SOURCE/ to make compiler happy --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index 1b96b93..3b5b42e 100644 --- a/config.mk +++ b/config.mk @@ -19,7 +19,7 @@ INCS = -I${X11INC} LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} # flags -CPPFLAGS = -D_BSD_SOURCE -D_POSIX_C_SOURCE=2 -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CPPFLAGS = -D_DEFAULT_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 -Wno-unused-function -Os ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} -- 1.7.10.4