make: fix warnings because of BSD_SOURCE
authorJonas Jelten <jj@sft.mx>
Mon, 19 Jan 2015 03:28:11 +0000 (04:28 +0100)
committerJonas Jelten <jj@sft.mx>
Mon, 19 Jan 2015 03:28:11 +0000 (04:28 +0100)
config.mk

index e5521ba9dc3fe935f63f86750f6aee425a3a272c..60b75ef14b57d32c0635596509e9bc511b528916 100644 (file)
--- 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}