aboutsummaryrefslogtreecommitdiffhomepage
path: root/config.mk
diff options
context:
space:
mode:
authorGravatar Christoph Lohmann <20h@r-36.net>2013-02-26 21:43:40 +0100
committerGravatar Christoph Lohmann <20h@r-36.net>2013-02-26 21:43:40 +0100
commitc6b89f23e7546c30dea42a3c49f99682c5818190 (patch)
treedc2f411410882c2c8b2abc95189ecc830704d09e /config.mk
parent1c1621da699adae49a4344b145f856dacb57270c (diff)
Using strsep and fixing null termination in csiparse.
Thanks for the hint from Alexander Sedov <alex0player@gmail.com>!
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index ecc5c83..abf25c1 100644
--- a/config.mk
+++ b/config.mk
@@ -19,7 +19,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
$(shell pkg-config --libs freetype2)
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\"
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS += -g ${LIBS}