aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-12-25 23:53:02 +0100
committerChristoph Lohmann <20h@r-36.net>2012-12-25 23:53:02 +0100
commit0a5c7074888161e3a3c040c0cc027c3ededd02af (patch)
treeba91b1947b1127491ef257f31125e64cdfa93d3a
parenta7d7358a2cc159127989d835792535f2ca95c43a (diff)
Fixing the compile warning for setenv.
-rw-r--r--config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.mk b/config.mk
index e11d142..f19df43 100644
--- a/config.mk
+++ b/config.mk
@@ -12,7 +12,7 @@ INCS = -I. -I/usr/include
LIBS = -L/usr/lib -lc -lX11
# flags
-CPPFLAGS = -DVERSION=\"${VERSION}\"
+CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
LDFLAGS = -g ${LIBS}