From da320f9c49d1e6cb887b67ac9ce05cd93001a2b7 Mon Sep 17 00:00:00 2001 From: Jonas Jelten Date: Mon, 19 Jan 2015 04:28:11 +0100 Subject: [PATCH] make: fix warnings because of BSD_SOURCE --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.mk b/config.mk index e5521ba..60b75ef 100644 --- a/config.mk +++ b/config.mk @@ -15,7 +15,7 @@ INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lX11 -lpng # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600 +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 CFLAGS += -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS} LDFLAGS += -g ${LIBS} #CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}