Fixing the compile warning for setenv. - ttabbed - Simple tabbing application for X11.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 0a5c7074888161e3a3c040c0cc027c3ededd02af
(DIR) parent a7d7358a2cc159127989d835792535f2ca95c43a
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Tue, 25 Dec 2012 23:53:02 +0100
Fixing the compile warning for setenv.
Diffstat:
config.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git 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}