From: Jonas Jelten Date: Mon, 19 Jan 2015 03:28:11 +0000 (+0100) Subject: make: fix warnings because of BSD_SOURCE X-Git-Url: https://git.brendanfh.com/?a=commitdiff_plain;h=da320f9c49d1e6cb887b67ac9ce05cd93001a2b7;p=sent.git make: fix warnings because of BSD_SOURCE --- 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}